From 54bb4e9fe1c9819888b76c4703e02b8644821b68 Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Wed, 9 Feb 2022 13:10:40 +0100 Subject: [PATCH] Let settings handle it when you don't have a password set but an email --- .../client/src/components/settings/site.vue | 19 ++++++++++++------- website/common/locales/en/settings.json | 1 + website/server/controllers/api-v3/auth.js | 1 + website/server/libs/auth/index.js | 16 +++++++++------- website/server/models/user/hooks.js | 6 ++++++ 5 files changed, 29 insertions(+), 14 deletions(-) diff --git a/website/client/src/components/settings/site.vue b/website/client/src/components/settings/site.vue index 3b295ce290..30be04e1fd 100644 --- a/website/client/src/components/settings/site.vue +++ b/website/client/src/components/settings/site.vue @@ -291,14 +291,16 @@
-
-

{{ $t('addLocalAuth') }}

+
+
{{ $t('addLocalAuth') }}
+
{{ $t('addPasswordAuth') }}
-
+
-
+
{{ $t('changeEmail') }}
-
+
{{ $t('changePass') }}