Base solution for your next web application
Open Closed

Is it possible remove username from all authentication and authorization process? #9488


User avatar
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)
  • User Avatar
    0
    musa.demir created

    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

  • User Avatar
    0
    bulutyonetim created

    tnx