Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/src/components/WebAuthn/AddDevice.vue')
-rw-r--r--apps/settings/src/components/WebAuthn/AddDevice.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/settings/src/components/WebAuthn/AddDevice.vue b/apps/settings/src/components/WebAuthn/AddDevice.vue
index 722c28b5147..463f5d9029a 100644
--- a/apps/settings/src/components/WebAuthn/AddDevice.vue
+++ b/apps/settings/src/components/WebAuthn/AddDevice.vue
@@ -20,7 +20,7 @@
-->
<template>
- <div v-if="!isHttps">
+ <div v-if="!isHttps && !isLocalhost">
{{ t('settings', 'Passwordless authentication requires a secure connection.') }}
</div>
<div v-else>
@@ -89,6 +89,10 @@ export default {
type: Boolean,
default: false,
},
+ isLocalhost: {
+ type: Boolean,
+ default: false,
+ },
},
data() {
return {