@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:
- At least 12 characters
- At least 1 symbol
- At least 1 number
- At least 1 lowercase letter
- At least 1 uppercase letter
@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)
@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.