Skip to content

Commit fb459f2

Browse files
jolheisertechknowlogick
authored andcommitted
Add password reset to FAQ (#8883)
* Add password reset to FAQ Signed-off-by: jolheiser <[email protected]> * Add links to email setup docs Signed-off-by: jolheiser <[email protected]> * Add en-us to email setup Signed-off-by: jolheiser <[email protected]> * Update docs/content/doc/help/faq.en-us.md Co-Authored-By: guillep2k <[email protected]> * Manually merge changes from @guillep2k and add small changes Signed-off-by: jolheiser <[email protected]>
1 parent 1274ad8 commit fb459f2

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

docs/content/doc/help/faq.en-us.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ Also see [Support Options]({{< relref "doc/help/seek-help.en-us.md" >}})
4343
* [Missing releases after migration repository with tags](#missing-releases-after-migrating-repository-with-tags)
4444
* [LFS Issues](#lfs-issues)
4545
* [How can I create users before starting Gitea](#how-can-i-create-users-before-starting-gitea)
46+
* [How can I enable password reset](#how-can-i-enable-password-reset)
47+
* [How can a user's password be changed](#how-can-a-user-s-password-be-changed)
4648

4749

4850
## Difference between 1.x and 1.x.x downloads
@@ -275,4 +277,17 @@ By default, your LFS token will expire after 20 minutes. If you have a slow conn
275277
You may want to set this value to `60m` or `120m`.
276278

277279
## How can I create users before starting Gitea
278-
Gitea provides a sub-command `gitea migrate` to initialize the database, after which you can use the [admin CLI commands]({{< relref "doc/usage/command-line.en-us.md" >}}) to add users like normal.
280+
Gitea provides a sub-command `gitea migrate` to initialize the database, after which you can use the [admin CLI commands]({{< relref "doc/usage/command-line.en-us.md#admin" >}}) to add users like normal.
281+
282+
## How can I enable password reset
283+
There is no setting for password resets. It is enabled when a [mail service]({{< relref "doc/usage/email-setup.en-us.md" >}}) is configured, and disabled otherwise.
284+
285+
## How can a user's password be changed
286+
- As an **admin**, you can change any user's password (and optionally force them to change it on next login)...
287+
- By navigating to your `Site Administration -> User Accounts` page and editing a user.
288+
- By using the [admin CLI commands]({{< relref "doc/usage/command-line.en-us.md#admin" >}}).
289+
Keep in mind most commands will also need a [global flag]({{< relref "doc/usage/command-line.en-us.md#global-options" >}}) to point the CLI at the correct configuration.
290+
- As a **user** you can change it...
291+
- In your account `Settings -> Account` page (this method **requires** you to know your current password).
292+
- By using the `Forgot Password` link.
293+
If the `Forgot Password/Account Recovery` page is disabled, please contact your administrator to configure a [mail service]({{< relref "doc/usage/email-setup.en-us.md" >}}).

0 commit comments

Comments
 (0)