@using Tessitura.Service.Client.CRM;
@using Tessitura.Service.Client.ReferenceData;
@using Tessitura.Service.Client.Utils;
@{
var tokenLink2 = getAccountPortalUrl() + "/en/account/reset/" + Model.LoginCredentials.PasswordToken + "?email=" + System.Uri.EscapeDataString(Model.LoginCredentials.EmailAddress);
}
|
Reset your password
|
You have requested a password reset for the account associated with this e-mail address.
|
If this is correct, please click the button below:
|
|
If you did not initiate this action, please contact the NAC Box Office at 1-844-985-2787.
|
|
@functions {
public string getAccountPortalUrl()
{
var account_portal_url = "";
var customDefaultsUrl = "ReferenceData/CustomDefaults?FieldName=naccna_account_portal";
var customDefaultsCall = Model.RestClient.AtUrl(customDefaultsUrl).WithContentType(ContentType.Json).Get
();
if(customDefaultsCall.IsSuccessful && customDefaultsCall.ResponseObject.Count > 0){
var customDefault = customDefaultsCall.ResponseObject[0];
account_portal_url = customDefault.DefaultValue;
}
return account_portal_url;
}
}