diff --git a/src/components/dialog/content/UpdatePasswordContent.vue b/src/components/dialog/content/UpdatePasswordContent.vue
new file mode 100644
index 0000000000..470a567258
--- /dev/null
+++ b/src/components/dialog/content/UpdatePasswordContent.vue
@@ -0,0 +1,47 @@
+
+
+
+
+
diff --git a/src/components/dialog/content/setting/UserPanel.vue b/src/components/dialog/content/setting/UserPanel.vue
index 82c5ae0fa0..2529261d7a 100644
--- a/src/components/dialog/content/setting/UserPanel.vue
+++ b/src/components/dialog/content/setting/UserPanel.vue
@@ -38,6 +38,17 @@
{{ providerName }}
+
@@ -83,9 +94,11 @@ import ProgressSpinner from 'primevue/progressspinner'
import TabPanel from 'primevue/tabpanel'
import { computed } from 'vue'
+import { useDialogService } from '@/services/dialogService'
import { useCommandStore } from '@/stores/commandStore'
import { useFirebaseAuthStore } from '@/stores/firebaseAuthStore'
+const dialogService = useDialogService()
const authStore = useFirebaseAuthStore()
const commandStore = useCommandStore()
const user = computed(() => authStore.currentUser)
@@ -113,6 +126,11 @@ const providerIcon = computed(() => {
return 'pi pi-user'
})
+const isEmailProvider = computed(() => {
+ const providerId = user.value?.providerData[0]?.providerId
+ return providerId === 'password'
+})
+
const handleSignOut = async () => {
await commandStore.execute('Comfy.User.SignOut')
}
diff --git a/src/components/dialog/content/signin/PasswordFields.vue b/src/components/dialog/content/signin/PasswordFields.vue
new file mode 100644
index 0000000000..8429904fd1
--- /dev/null
+++ b/src/components/dialog/content/signin/PasswordFields.vue
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
+
+
+ {{ t('validation.password.requirements') }}:
+
+ -
+ {{ t('validation.password.minLength') }}
+
+ -
+ {{ t('validation.password.uppercase') }}
+
+ -
+ {{ t('validation.password.lowercase') }}
+
+ -
+ {{ t('validation.password.number') }}
+
+ -
+ {{ t('validation.password.special') }}
+
+
+
+
+
+
+
+
+
+
+ {{
+ $field.error.message
+ }}
+
+
+
+
diff --git a/src/components/dialog/content/signin/SignUpForm.vue b/src/components/dialog/content/signin/SignUpForm.vue
index 64280346df..027a6059fc 100644
--- a/src/components/dialog/content/signin/SignUpForm.vue
+++ b/src/components/dialog/content/signin/SignUpForm.vue
@@ -1,12 +1,11 @@