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(
|
||||
"Not an HTTP digest authorization")
|
||||
self.__authenticate(request._digest_auth_state)
|
||||
user = login_manager.user_callback(
|
||||
authorization.username)
|
||||
user = login_manager.user_callback(authorization.username)
|
||||
login_user(user)
|
||||
self.__on_login(user)
|
||||
return user
|
||||
|
Loading…
Reference in New Issue
Block a user