diff --git a/ui/src/layout/layout-header/avatar/index.vue b/ui/src/layout/layout-header/avatar/index.vue index c3f8278a2..f5f9d7be1 100644 --- a/ui/src/layout/layout-header/avatar/index.vue +++ b/ui/src/layout/layout-header/avatar/index.vue @@ -188,7 +188,7 @@ const openResetPassword = () => { const logout = () => { login.logout().then(() => { - router.push({name: 'login'}) + router.push({name: 'login', query: {login_mode: 'manual'}}) }) } diff --git a/ui/src/views/system-setting/authentication/component/Setting.vue b/ui/src/views/system-setting/authentication/component/Setting.vue index 39d703b03..b2a629b28 100644 --- a/ui/src/views/system-setting/authentication/component/Setting.vue +++ b/ui/src/views/system-setting/authentication/component/Setting.vue @@ -3,7 +3,7 @@
+ require-asterisk-position="right" @submit.prevent> { authApi.getLoginSetting().then((res) => { if (Object.keys(res.data).length > 0) { form.value = res.data; - loginMethods.value =res.data.auth_types + loginMethods.value = res.data.auth_types } }) });