Skip to content

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

@servilla

Description

@servilla

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'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

ToDo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions