mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
settings.ALLOW_EMPTY_PASSWORD added. allows to create user withnout password. useful with SSO authentication.
This commit is contained in:
parent
f484598414
commit
3666ff0738
4 changed files with 6 additions and 3 deletions
|
@ -85,6 +85,7 @@ def accounts(request):
|
|||
error_messages = []
|
||||
users = User.objects.all().order_by('username')
|
||||
create_missing_userattributes(users)
|
||||
allow_empty_password = settings.ALLOW_EMPTY_PASSWORD
|
||||
|
||||
if request.method == 'POST':
|
||||
if 'create' in request.POST:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue