mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Hide generate TOTP button when a TOTP exists
This commit is contained in:
parent
58ad745373
commit
b99c405202
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@
|
||||||
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off"
|
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off"
|
||||||
pattern="[A-Z2-7]{16,}"
|
pattern="[A-Z2-7]{16,}"
|
||||||
data-bind="textInput: adminTOTP">
|
data-bind="textInput: adminTOTP">
|
||||||
<button type="button" data-bind="click:generateTOTP">Generate</button>
|
<button type="button" data-bind="visible:!adminTOTP(), click:generateTOTP">Generate</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label></label>
|
<label></label>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue