Password Variables to Set or Reset User Passwords

From SmartWiki
Revision as of 12:22, 28 June 2023 by Ann Vincent (talk | contribs)

Jump to: navigation, search

In the upcoming November 2023 release, password variables will be deprecated for improved security. All systems will be required to use the activation link variable (@activationlink@) to send the user to a page where they can enter their desired password instead of using the soon to be deprecated password variable (@password@) which sends a password in email. Therefore, the following variables will be deprecated and will not work after the November upgrade: @password@, @checkportalpassword@, @checkactivatedpassword@, @randompassword@, and @passwordresetlink@.

If you need help updating email templates for new users or password resets, reach out to our Support team. These email templates are located at Menu Icon > Global Settings > Security tab > Password and Activation Policies > Activation Emails tab. Clicking the Sample Template link will update the templates with the desired variable. Make sure to check any existing workflow emails for these soon-to-be deprecated variables.

Depending on how your user signup pages are configured, you may also need to update signup page templates for new users which can be found at Menu Icon > Global Settings > Communications > System Email Templates. You can filter the list by searching for “Signup”.


Ambox warning pn.png This feature is deprecated and should no longer be used, but may still be available for reasons of backwards compatibility.


See Also

Please read our Password Policy for more comprehensive information about user passwords. 


Overview

Variables can be used within SmartSimple to automatically generate system passwords.


New Users

To generate a new password for a new user.

@password@

This can be used in:


Existing Users

To generate a new password for an existing user.

@randompassword@

This can be used in:


In the Request Password section of User Email Templates, the following variables can be used to create a time-delimited link for password.

http://@url@@activationlink@

See Password Policy for further details.

New or Existing Users

To generate a new password for a new user or sends the words "existing password" for existing users (see Notes below)

@checkactivatedpassword@

To generate a new password for a new user or sends the words "existing password" for existing users AND to promote user to admin/portal type user.

@checkportalpassword@

These can be used in:

Notes

Translation

Because of the complex nature of the password creation and validation process it is not possible to automatically translate existing password into other languages. If you are sending an e-mail containing the @checkactivatedpassword@ variable you can use the following syntax to display text other than "existing password" if required.

For example, for an existing user the following will show the French translation of existing password which is Mot de passe courant. If the user has not been previously activated the syntax will provide a randomly generated password as normal:

<!--@sscalculation(if(trim("@checkactivatedpassword@")="existing password","Mot de passe courant","@checkactivatedpassword@"))-->

Processing Time

System-generated emails that contain passwords bypass the typical Service Process Manager and, hence, are sent out immediately rather than being put in an email queue.

See Also