Reorder authentication backend so that SSL is tried before login/password (#7651)
This commit is contained in:
parent
34302b62de
commit
06630a6ab8
|
@ -9,9 +9,10 @@ class Plugin(object):
|
|||
return [__name__]
|
||||
|
||||
def get_authentication_backends(self):
|
||||
return [ 'authentic2_pratic.backends.PraticLoginPasswordBackend',
|
||||
return ['authentic2_pratic.backends.PraticSSLBackend',
|
||||
'authentic2_pratic.backends.PraticLoginPasswordSSLBackend',
|
||||
'authentic2_pratic.backends.PraticSSLBackend',]
|
||||
'authentic2_pratic.backends.PraticLoginPasswordBackend',
|
||||
]
|
||||
|
||||
|
||||
def get_auth_frontends(self):
|
||||
|
|
Reference in New Issue