@model eSuite.API.Models.IPasswordInformation @if (Model.DomainSsoProviderId != null) {
Your domain has authorisation from an external source.
} else {
@Html.LabelFor(m => m.SsoProviderId) @Html.DropDownListFor(m => m.SsoProviderId, new SelectList( new List> { new(-1, "Password") }.Concat(Model.SsoProviders.OrderBy(x => x.Value)), nameof(KeyValuePair.Key), nameof(KeyValuePair.Value)))
@Html.LabelFor(m => m.Password) @Html.EditorFor(m => m.Password, new { htmlAttributes = new { @class = "form-control", autocomplete = "new-password" } }) @Html.ValidationMessageFor(m => m.Password, default)
Passwords require:
@Html.LabelFor(m => m.ConfirmPassword) @Html.EditorFor(m => m.ConfirmPassword, new { htmlAttributes = new { @class = "form-control", autocomplete = "new-password" } }) @Html.ValidationMessageFor(m => m.ConfirmPassword)
@Html.LabelFor(m => m.UsingTwoFactorAuthentication) @Html.EditorFor(m => m.UsingTwoFactorAuthentication, new { htmlAttributes = new { } }) @Html.ValidationMessageFor(m => m.UsingTwoFactorAuthentication)
@Model.TwoFactorAuthenticationSettings.ManualEntrySetupCode
@Html.LabelFor(m => m.SecurityCode) @Html.EditorFor(m => m.SecurityCode, new { htmlAttributes = new { @class = "form-control", autocomplete = "one-time-code" } }) @Html.ValidationMessageFor(m => m.SecurityCode)
Save changes to trigger the process that will link your SSO Account.
}