Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename "identifier" to "user name" in password reset email #45

Open
servilla opened this issue Dec 7, 2023 · 0 comments
Open

Rename "identifier" to "user name" in password reset email #45

servilla opened this issue Dec 7, 2023 · 0 comments
Assignees
Labels
maintenance Maintenance

Comments

@servilla
Copy link
Collaborator

servilla commented Dec 7, 2023

The use of "Identifier" may result in some confusion when logging on to the system where web form labels ask for "User Name". The email content is the following:

    msg = 'Hello ' + ldap_user.cn + ',\n\n' + \
          'A user account with the identifier "' + ldap_user.uid + \
          '" was created on your behalf for you to access the ' + \
          'Environmental Data Initiative data repository, namely through ' + \
          'the EDI Data Portal. Please use the following URL to set ' + \
          'your password:\n\n' + url + '\n\n' + \
          'This URL provides a one-time password reset and will expire ' + \
          'in 24 hours.\n\nIf you have received this email in error, ' + \
          'please ignore.\n\nSincerely,\nThe EDI Team'

Better if it were rewritten to:

    msg = 'Hello ' + ldap_user.cn + ',\n\n' + \
          'An account with the user name "' + ldap_user.uid + \
          '" was created on your behalf for you to access the ' + \
          'Environmental Data Initiative data repository, namely through ' + \
          'the EDI Data Portal. Please use the following URL to set ' + \
          'your password:\n\n' + url + '\n\n' + \
          'This URL provides a one-time password reset and will expire ' + \
          'in 24 hours.\n\nIf you have received this email in error, ' + \
          'please ignore.\n\nSincerely,\nThe EDI Team'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Maintenance
Projects
Status: ToDo
Development

No branches or pull requests

1 participant