Skip to content

Commit

Permalink
Changed Logins page to Password
Browse files Browse the repository at this point in the history
  • Loading branch information
hellfirehd committed May 28, 2024
1 parent ef09741 commit 96a0389
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/Account/Logins"
@page "/Account/Password"
@using Pixel.Identity.Shared.Models
@attribute [Authorize]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

namespace Pixel.Identity.UI.Client.Pages.Account
{
public partial class Logins : ComponentBase
public partial class Password : ComponentBase
{
[Inject]
public ISnackbar SnackBar { get; set; }

[Inject]
public IAccountService AccountService { get; set; }

Expand All @@ -26,7 +26,7 @@ public partial class Logins : ComponentBase
protected override async Task OnInitializedAsync()
{
hasLocalAccount = await AccountService.GetHasPasswordAsync();
var userExternalLogins = await ExternalLoginsService.GetExternalLoginsAsync();
var userExternalLogins = await ExternalLoginsService.GetExternalLoginsAsync();
this.externalLogins.AddRange(userExternalLogins);
await base.OnInitializedAsync();
}
Expand Down
2 changes: 1 addition & 1 deletion src/Pixel.Identity.UI.Client/Shared/NavMenu.razor
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<AuthorizeView>
<MudNavGroup Title="Account" Expanded="false" Icon="@Icons.Material.Outlined.Dashboard">
<MudNavLink Href="./account/profile">Profile</MudNavLink>
<MudNavLink Href="./account/logins">Logins</MudNavLink>
<MudNavLink Href="./account/password">Password</MudNavLink>
<MudNavLink Href="./account/authenticator/manage">Authenticator</MudNavLink>
</MudNavGroup>
</AuthorizeView>
Expand Down

0 comments on commit 96a0389

Please sign in to comment.