summaryrefslogtreecommitdiff
path: root/web/src/models/UserInfo.ts
diff options
context:
space:
mode:
authorBrynn Crowley <littlehill723@gmail.com>2025-03-06 08:24:19 +0000
committerGitHub <noreply@github.com>2025-03-06 08:24:19 +0000
commitf4abcb34b757e40467344ffdd7cec9f77f46a227 (patch)
treef3cc73da2ebaa978186f6f470d5bd27b279f6a96 /web/src/models/UserInfo.ts
parent5b52a9d4b18b5a07b1edb7403b6dc90b8d5c628d (diff)
feat(web): change password (#7676)
Add the ability for users to change their password from their user settings, without requiring them to use the reset password workflow. User's are required to create a elevated session in order to change their password. Users may not change their password to their current password. The user's current password is required for the password change. Users must follow any established password policies. Administrators are able to turn this feature off. Closes #3548
Diffstat (limited to 'web/src/models/UserInfo.ts')
-rw-r--r--web/src/models/UserInfo.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/src/models/UserInfo.ts b/web/src/models/UserInfo.ts
index eb420b7b6..5c7c155ca 100644
--- a/web/src/models/UserInfo.ts
+++ b/web/src/models/UserInfo.ts
@@ -2,6 +2,7 @@ import { SecondFactorMethod } from "@models/Methods";
export interface UserInfo {
display_name: string;
+ emails: string[];
method: SecondFactorMethod;
has_webauthn: boolean;
has_totp: boolean;