修改授权方式为手机号码和验证码方式
测试出的问题修复
This commit is contained in:
@@ -49,6 +49,7 @@ namespace Ewide.Web.Core
|
||||
{
|
||||
// 管理员跳过判断
|
||||
var userManager = App.GetService<IUserManager>();
|
||||
if (userManager.IsExpire) return false;
|
||||
if (userManager.SuperAdmin) return true;
|
||||
|
||||
// 路由名称
|
||||
|
||||
Reference in New Issue
Block a user