UserManagement:User.Login.PasswordRecoveryMethod
Version: - stringSummary
Returns current value of Restore password method control in Login settings>Email settings of the module paragraph settings, can be available during password restoring
Settings
Not documented
Examples
Outputting the template tag
@GetString("UserManagement:User.Login.PasswordRecoveryMethod")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("UserManagement:User.Login.PasswordRecoveryMethod"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("UserManagement:User.Login.PasswordRecoveryMethod");
}
Outputting the template tag
<!--@UserManagement:User.Login.PasswordRecoveryMethod-->
Check if string has a value
<!--@If Defined(@UserManagement:User.Login.PasswordRecoveryMethod)-->
Let's output this tag here: <strong><!--@UserManagement:User.Login.PasswordRecoveryMethod--></strong>
<!--@EndIf(@UserManagement:User.Login.PasswordRecoveryMethod)-->