0
edits
Changes
no edit summary
checks if the [[User|user]] is activated
* if the [[User|user]] is not activated then generates a new random [[Password|password]]
* if the [[User|user]] is activated then sends the text "current existing password"(see '''Notes''' below)
'''For example'''
[[Password]] is: current password
==Notes==
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 "existing password" in French if appropriate. 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@"))-->
==See Also==