
The Function Block RESETPWD_USER invites a user via email or SMS using a Token to define a new password.
The Token is always valid for a maximum of 24 hours. After that, the user can request another token in the login window.
A token is created and the user is invited when there is a positive edge at the input. It is important that an email address or mobile number has been stored for the user and that a mail server or SMS server has been configured.
Note: If both an email address and a mobile number have been stored, the message will be sent by email.
The input USER defines the ID of a user. This input may only contain a string. Variables or other data types are deactivated for security reasons and will be ignored if set.
The output provides a pulse when the process is completed.
Tip: The language of the email can be defined beforehand with the Function Block USER_LANG.