feat: add support for additional emails in user management and update related configurations

This commit is contained in:
Wikid82
2025-11-25 18:30:16 +00:00
parent 07be2155be
commit 8c36a8dee4
10 changed files with 159 additions and 39 deletions

View File

@@ -48,6 +48,7 @@ export interface AuthUser {
enabled: boolean;
created_at: string;
updated_at: string;
additional_emails?: string;
}
export interface AuthUserStats {
@@ -62,6 +63,7 @@ export interface CreateAuthUserRequest {
password?: string;
roles: string;
mfa_enabled: boolean;
additional_emails?: string;
}
export interface UpdateAuthUserRequest {
@@ -71,6 +73,7 @@ export interface UpdateAuthUserRequest {
roles?: string;
mfa_enabled?: boolean;
enabled?: boolean;
additional_emails?: string;
}
export const getAuthUsers = async (): Promise<AuthUser[]> => {