Refactor User
: authenticationProviders
, secondFactorProviders
and validAuthenticationMethods
#1127
Labels
help wanted
Extra attention is needed
Priority: Medium
This issue may be useful, and needs some attention.
refactoring
Pull requests that refactor code but do not change its behavior.
Milestone
During development of #1125 I found that the definition of the authentication methods in user.py is split into the attributes
authenticationProviders
secondFactorProviders
validAuthenticationMethods
but at least, the only true definition should be just in
validAuthenticationMethods
; Why should I register anauth_userpassword
-login, whenvalidAuthenticationMethods
does only define GoogleLogin?This is a relict and bad extension of old code base, and must be refactored.
The text was updated successfully, but these errors were encountered: