-
+
+
+
+
SSO Authentication Identity (optional):
@@ -64,6 +71,7 @@ const userForm = ref({
email: null,
phone: null,
mobile: null,
+ must_change_password: true,
is_superuser: !apiSettings.isProfessionalLicense,
is_project_admin: false,
is_user_manager: false,
diff --git a/packages/nuxt-base-layer/src/components/S/PasswordField.vue b/packages/nuxt-base-layer/src/components/S/PasswordField.vue
index c4f841116..10296f687 100644
--- a/packages/nuxt-base-layer/src/components/S/PasswordField.vue
+++ b/packages/nuxt-base-layer/src/components/S/PasswordField.vue
@@ -17,7 +17,6 @@
diff --git a/packages/nuxt-base-layer/src/utils/types.ts b/packages/nuxt-base-layer/src/utils/types.ts
index 6778f8e07..bd6053bbe 100644
--- a/packages/nuxt-base-layer/src/utils/types.ts
+++ b/packages/nuxt-base-layer/src/utils/types.ts
@@ -34,6 +34,8 @@ export type User = UserShortInfo & BaseModel & {
readonly can_login_local: boolean;
readonly can_login_sso: boolean;
+ must_change_password: boolean;
+
email: string|null;
phone: string|null;
mobile: string|null;
@@ -195,6 +197,7 @@ export type UserPublicKey = BaseModel & {
export enum LoginResponseStatus {
SUCCESS = 'success',
MFA_REQUIRED = 'mfa-required',
+ PASSWORD_CHANGE_REQUIRED = 'password-change-required',
}
export type LoginResponse = {