Revised the coding style in the init_app method of the DigestAuth class.
This commit is contained in:
parent
4f30756dc5
commit
ea31bb9579
@ -381,8 +381,7 @@ class DigestAuth:
|
|||||||
raise UnauthorizedException(
|
raise UnauthorizedException(
|
||||||
"Not an HTTP digest authorization")
|
"Not an HTTP digest authorization")
|
||||||
self.__authenticate(request._digest_auth_state)
|
self.__authenticate(request._digest_auth_state)
|
||||||
user = login_manager.user_callback(
|
user = login_manager.user_callback(authorization.username)
|
||||||
authorization.username)
|
|
||||||
login_user(user)
|
login_user(user)
|
||||||
self.__on_login(user)
|
self.__on_login(user)
|
||||||
return user
|
return user
|
||||||
|
Loading…
Reference in New Issue
Block a user