1
0
Fork 0
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:
Ing. Jan KRCMAR 2016-06-02 13:39:18 +02:00
parent f484598414
commit 3666ff0738
4 changed files with 6 additions and 3 deletions

View file

@ -23,7 +23,7 @@
<div class="form-group">
<label class="col-sm-4 control-label">{% trans "Password" %}</label>
<div class="col-sm-6">
<input type="password" class="form-control" name="password" placeholder="*******" required>
<input type="password" class="form-control" name="password" placeholder="*******" {% if not allow_empty_password %}required{% endif %}>
</div>
</div>
</div>
@ -35,4 +35,4 @@
</div> <!-- /.modal-content -->
</div> <!-- /.modal-dialog -->
</div> <!-- /.modal -->
{% endif %}
{% endif %}