...
This commit is contained in:
@@ -96,7 +96,8 @@ namespace Hushian.Application.Services
|
||||
Fullname = User.FullName,
|
||||
Id = User.ID,
|
||||
MobileOrUserName = User.Mobile,
|
||||
Token = new JwtSecurityTokenHandler().WriteToken(await _authService.GenerateToken(User.Mobile, User.ID))
|
||||
Role="User",
|
||||
Token = new JwtSecurityTokenHandler().WriteToken(await _authService.GenerateToken(User.Mobile, User.ID, "User"))
|
||||
};
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user