2021-07-21 06:58:49 +00:00
|
|
|
@inject SignInManager<ApplicationUser> SignInManager
|
|
|
|
@{
|
|
|
|
var hasExternalLogins = (await SignInManager.GetExternalAuthenticationSchemesAsync()).Any();
|
|
|
|
}
|
|
|
|
<ul class="nav nav-pills flex-column">
|
2021-08-05 06:22:19 +00:00
|
|
|
<li class="nav-item"><a class="nav-link @ManageNavPages.IndexNavClass(ViewContext)" id="profile"
|
|
|
|
asp-page="./Index">Profile</a></li>
|
|
|
|
<li class="nav-item"><a class="nav-link @ManageNavPages.EmailNavClass(ViewContext)" id="email"
|
|
|
|
asp-page="./Email">Email</a></li>
|
|
|
|
<li class="nav-item"><a class="nav-link @ManageNavPages.ChangePasswordNavClass(ViewContext)" id="change-password"
|
|
|
|
asp-page="./ChangePassword">Password</a></li>
|
2021-07-21 06:58:49 +00:00
|
|
|
@if (hasExternalLogins)
|
|
|
|
{
|
2021-08-05 06:22:19 +00:00
|
|
|
<li id="external-logins" class="nav-item"><a id="external-login"
|
|
|
|
class="nav-link @ManageNavPages.ExternalLoginsNavClass(ViewContext)" asp-page="./ExternalLogins">External
|
|
|
|
logins</a></li>
|
2021-07-21 06:58:49 +00:00
|
|
|
}
|
2021-08-05 06:22:19 +00:00
|
|
|
<li class="nav-item"><a class="nav-link @ManageNavPages.TwoFactorAuthenticationNavClass(ViewContext)"
|
|
|
|
id="two-factor" asp-page="./TwoFactorAuthentication">Two-factor authentication</a></li>
|
|
|
|
<li class="nav-item"><a class="nav-link @ManageNavPages.PersonalDataNavClass(ViewContext)" id="personal-data"
|
|
|
|
asp-page="./PersonalData">Personal data</a></li>
|
2021-07-21 06:58:49 +00:00
|
|
|
</ul>
|
2021-07-22 21:12:27 +00:00
|
|
|
|
2021-08-05 06:22:19 +00:00
|
|
|
@* TODO: Finish styling account page. *@
|