mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 09:45:28 +01:00
Fixes issue where user would be disabled after changing password if no servers existed.
This commit is contained in:
parent
74f4bf748e
commit
d17e17e38b
@ -157,6 +157,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% end %}
|
||||
|
||||
<div class="form-check-flat">
|
||||
<label for="enabled" class="form-check-label ml-4 mb-4">
|
||||
@ -184,7 +185,7 @@
|
||||
</label>
|
||||
|
||||
</div>
|
||||
{% end %}
|
||||
|
||||
<button type="submit" class="btn btn-success mr-2"><i class="fas fa-save"></i> {{ translate('panelConfig', 'save') }}</button>
|
||||
<button type="reset" onclick="location.href='/panel/panel_config'" class="btn btn-light"><i class="fas fa-undo-alt"></i> {{ translate('panelConfig', 'cancel') }}</button>
|
||||
</form>
|
||||
|
Loading…
x
Reference in New Issue
Block a user