-
-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use case insensitive username for login and reset password (#8523)
* Use caseinsensitive username for login and reset password. * Fix reset password page to use the password pattern only when enabled the related setting. * Documentation / update user create page to describe that usernames are not case sensitive. * Documentation / move user reset password to it's own page and content improvements. --------- Co-authored-by: Juan Luis Rodríguez <juanluisrp@gmail.com>
- Loading branch information
1 parent
0fc0447
commit 8ca1e5c
Showing
13 changed files
with
275 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+3.13 KB
(150%)
...nual/docs/administrator-guide/managing-users-and-groups/img/password-forgot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.42 KB
(140%)
...cs/administrator-guide/managing-users-and-groups/img/selfregistration-start.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
...anual/docs/administrator-guide/managing-users-and-groups/user-reset-password.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# User 'Forgot your password?' function {#user_forgot_password} | ||
|
||
!!! note | ||
This function requires an email server configured. See [System configuration](../configuring-the-catalog/system-configuration.md#system-config-feedback). | ||
|
||
This function allows users who have forgotten their password to request a new one. Go to the sign in page to access the form: | ||
|
||
![](img/password-forgot.png) | ||
|
||
If a user takes this option they will receive an email inviting them to change their password as follows: | ||
|
||
You have requested to change your Greenhouse GeoNetwork Site password. | ||
|
||
You can change your password using the following link: | ||
|
||
http://localhost:8080/geonetwork/srv/en/password.change.form?username=dubya.shrub@greenhouse.gov&changeKey=635d6c84ddda782a9b6ca9dda0f568b011bb7733 | ||
|
||
This link is valid for today only. | ||
|
||
Greenhouse GeoNetwork Site | ||
|
||
The catalog has generated a changeKey from the forgotten password and the current date and emailed that to the user as part of a link to a change password form. | ||
|
||
If you want to change the content of this email, you should modify `xslt/service/account/password-forgotten-email.xsl`. | ||
|
||
When the user clicks on the link, a change password form is displayed in their browser and a new password can be entered. When that form is submitted, the changeKey is regenerated and checked with the changeKey supplied in the link, if they match then the password is changed to the new password supplied by the user. | ||
|
||
The final step in this process is a verification email sent to the email address of the user confirming that a change of password has taken place: | ||
|
||
Your Greenhouse GeoNetwork Site password has been changed. | ||
|
||
If you did not change this password contact the Greenhouse GeoNetwork Site helpdesk | ||
|
||
The Greenhouse GeoNetwork Site team | ||
|
||
If you want to change the content of this email, you should modify `xslt/service/account/password-changed-email.xsl`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.