mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 23:04:04 +00:00
Merge pull request #396 from Ponkhy/2fa
Hide 2FA section if disabled auth
This commit is contained in:
commit
50175b733c
1 changed files with 4 additions and 5 deletions
|
@ -120,11 +120,10 @@
|
||||||
</form>
|
</form>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<h2 class="mt-5 mb-2">
|
<div v-if="! settings.disableAuth" class="mt-5 mb-3">
|
||||||
{{ $t("Two Factor Authentication") }}
|
<h2 class="mb-2">
|
||||||
</h2>
|
{{ $t("Two Factor Authentication") }}
|
||||||
|
</h2>
|
||||||
<div class="mb-3">
|
|
||||||
<button class="btn btn-primary me-2" type="button" @click="$refs.TwoFADialog.show()">{{ $t("2FA Settings") }}</button>
|
<button class="btn btn-primary me-2" type="button" @click="$refs.TwoFADialog.show()">{{ $t("2FA Settings") }}</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue