0
bulutyonetim created
Hi,
Is it possible remove username from all authentication and authorization process? In other word, we just want email as authentication or authorization property?
thanks.
2 Answer(s)
-
0
Hi @bulutyonetim
It requires some changes. You should override https://github.com/aspnetboilerplate/aspnetboilerplate/blob/c0604b9b1347a3b9581bf97b4cae22db5b6bab1b/src/Abp.ZeroCore/Authorization/AbpLoginManager.cs#L172 and https://github.com/aspnetboilerplate/aspnetboilerplate/blob/c0604b9b1347a3b9581bf97b4cae22db5b6bab1b/src/Abp.ZeroCore/Authorization/AbpLoginManager.cs#L329 in https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Application/Authorization/LogInManager.cs
-
0
tnx