diff --git a/src/lib/actions/analytics.ts b/src/lib/actions/analytics.ts index 45ba11413..04d74c94a 100644 --- a/src/lib/actions/analytics.ts +++ b/src/lib/actions/analytics.ts @@ -141,6 +141,8 @@ export enum Submit { TeamUpdateName = 'submit_team_update_name', AuthLimitUpdate = 'submit_auth_limit_update', AuthStatusUpdate = 'submit_auth_status_update', + AuthPasswordHistoryUpdate = 'submit_auth_password_history_limit_update', + AuthPasswordDictionaryUpdate = 'submit_auth_password_dictionary_update', SessionsLengthUpdate = 'submit_sessions_length_update', SessionsLimitUpdate = 'submit_sessions_limit_update', SessionDelete = 'submit_session_delete', diff --git a/src/routes/console/project-[project]/auth/security/+page.svelte b/src/routes/console/project-[project]/auth/security/+page.svelte index beea9ce44..c9c411910 100644 --- a/src/routes/console/project-[project]/auth/security/+page.svelte +++ b/src/routes/console/project-[project]/auth/security/+page.svelte @@ -1,5 +1,7 @@ + +
+ + Password Dictionary + + + + +

+ Enabling this option prevent users from setting insecure passwords by comparing the + user's password with the 10k most commonly used passwords. +

+
+ + + + +
+
diff --git a/src/routes/console/project-[project]/auth/security/updatePasswordHistory.svelte b/src/routes/console/project-[project]/auth/security/updatePasswordHistory.svelte new file mode 100644 index 000000000..e4c48767d --- /dev/null +++ b/src/routes/console/project-[project]/auth/security/updatePasswordHistory.svelte @@ -0,0 +1,76 @@ + + +
+ + Password History + + + + +

+ Enabling this option prevents users from reusing recent passwords by comparing the + new password with their password history. +

+

+ Set the maximum number of passwords saved per user. Maximum 20 passwords. +

+ + + +
+ + + + +
+