mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Update adapter.py
This commit is contained in:
parent
09ede33cc7
commit
742be59ffe
@ -63,7 +63,7 @@ class CustomAccountAdapter(DefaultAccountAdapter):
|
||||
path = path.replace("UID-KEY", quote(key))
|
||||
return settings.PAPERLESS_URL + path
|
||||
|
||||
def save_user(self, request, user, form, commit):
|
||||
def save_user(self, request, user, form, commit=True): # noqa: FBT002
|
||||
"""
|
||||
Save the user instance. Default groups are assigned to the user, if
|
||||
specified in the settings.
|
||||
|
Loading…
x
Reference in New Issue
Block a user