Non Unique Username with ASP.Net Identity 2.0 -
i have situation username not unique. email used username , 1 email can have many different passwords in database , legitimate. how use asp.net identity 2.0 in situation.
var result = await signinmanager.passwordsigninasync(model.username, model.password, model.rememberme, shouldlockout: false);
above line expects 1 user in database. if multiple records returned - returns failure. expected logic doesn't work me.
how override logic?
alternatively, ready customize login problem - not sure things done part of passwordsigninasync. adding cookies etc. please help.
i made work. had use username + password combination unique username.
these different situations in industry different types of needs.
Comments
Post a Comment