Skip to content

Commit

Permalink
refactor:Delete useless code and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
wzh425 committed Apr 1, 2024
1 parent d2a689e commit 59d2452
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright (c) MASA Stack All rights reserved.
// Licensed under the Apache License. See LICENSE.txt in the project root for license information.

using Microsoft.AspNetCore.Identity;

namespace Masa.Auth.Service.Admin.Domain.Subjects.Aggregates;

public class PasswordType : Enumeration
Expand Down Expand Up @@ -31,7 +29,6 @@ public virtual bool VerifyPassword(User user, string encryptPassword, string pro

public static PasswordType StartNew(string type) => type switch
{

nameof(MD5) => new MD5PasswordType(),
nameof(HashPassword) => new HashPasswordType(),
_ => new PasswordType()
Expand Down
1 change: 1 addition & 0 deletions src/Services/Masa.Auth.Service.Admin/_Imports.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
global using Microsoft.AspNetCore.Authorization;
global using Microsoft.AspNetCore.Authorization.Policy;
global using Microsoft.AspNetCore.Mvc;
global using Microsoft.AspNetCore.Identity;
global using Microsoft.EntityFrameworkCore;
global using Microsoft.EntityFrameworkCore.Design;
global using Microsoft.EntityFrameworkCore.Infrastructure;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,4 @@
</div>
</MCard>
</ChildContent>
</MDialog>


@code {

}
</MDialog>
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,4 @@ private async Task FavoriteAddAsync(ExpansionMenu nav)
await OnFavoriteAdd.Invoke(nav.Id);
}
}

private async Task OnOutsideClick()
{
var a = 1;
}
}

0 comments on commit 59d2452

Please sign in to comment.