mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-11 01:13:41 +08:00
Merge pull request #2413 from nextcloud/enh/noid/details-tag-aio-password
put the aio password change into a details tag
This commit is contained in:
commit
8171d2c036
1 changed files with 12 additions and 9 deletions
|
@ -504,15 +504,18 @@
|
||||||
{% if is_backup_container_running == false %}
|
{% if is_backup_container_running == false %}
|
||||||
{% if isApacheStarting == false %}
|
{% if isApacheStarting == false %}
|
||||||
<h2>AIO password change</h2>
|
<h2>AIO password change</h2>
|
||||||
You can change your AIO password below:<br><br />
|
<details>
|
||||||
<form method="POST" action="/api/configuration" class="xhr">
|
<summary>Click here to change your AIO password</summary><br />
|
||||||
<input type="text" autocomplete="current-password" name="current-master-password" placeholder="Your current AIO password"/>
|
You can change your AIO password below:<br><br />
|
||||||
<input type="text" autocomplete="new-password" name="new-master-password" placeholder="Your new AIO password"/>
|
<form method="POST" action="/api/configuration" class="xhr">
|
||||||
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
|
<input type="text" autocomplete="current-password" name="current-master-password" placeholder="Your current AIO password"/>
|
||||||
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
|
<input type="text" autocomplete="new-password" name="new-master-password" placeholder="Your new AIO password"/>
|
||||||
<input class="button" type="submit" value="Submit" />
|
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
|
||||||
</form>
|
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
|
||||||
The new password needs to be at least 24 characters long. Allowed characters are the <a href="https://en.wikipedia.org/wiki/Latin_alphabet#/media/File:Abecedarium.png"><b>latin characters</b></a> <b>a-z</b>, <b>A-Z</b>, <b>0-9</b> and <b>spaces</b>.<br><br>
|
<input class="button" type="submit" value="Submit" />
|
||||||
|
</form>
|
||||||
|
The new password needs to be at least 24 characters long. Allowed characters are the <a href="https://en.wikipedia.org/wiki/Latin_alphabet#/media/File:Abecedarium.png"><b>latin characters</b></a> <b>a-z</b>, <b>A-Z</b>, <b>0-9</b> and <b>spaces</b>.<br>
|
||||||
|
</details><br>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue