mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 07:35:55 +08:00
Hide generate TOTP button when a TOTP exists
This commit is contained in:
parent
58ad745373
commit
b99c405202
|
@ -65,7 +65,7 @@
|
|||
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off"
|
||||
pattern="[A-Z2-7]{16,}"
|
||||
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 class="control-group">
|
||||
<label></label>
|
||||
|
|
Loading…
Reference in a new issue