mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
refactor: remove redundand parenthesis when return tuple
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
This commit is contained in:
parent
d793193fdf
commit
7e06823e58
11 changed files with 34 additions and 34 deletions
|
@ -127,7 +127,7 @@ class BasicAuthBackend(AuthenticationBackend):
|
|||
user.nonce = util.make_nonce()
|
||||
user.authenticated = True
|
||||
|
||||
return (AuthCredentials(["authenticated"]), user)
|
||||
return AuthCredentials(["authenticated"]), user
|
||||
|
||||
|
||||
def _auth_required(auth_goal: bool = True):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue