* updating maxattempts for ldap
Этот коммит содержится в:
Ben Cooke
2025-03-12 18:22:03 -04:00
коммит произвёл GitHub
родитель 2102391672
Коммит eb967b6b6d
23 изменённых файлов: 800 добавлений и 28 удалений

Просмотреть файл

@@ -674,6 +674,13 @@ export default class Client4 {
);
};
resetFailedAttempts = (userId: string) => {
return this.doFetch<StatusOK>(
`${this.getUserRoute(userId)}/reset_failed_attempts`,
{method: 'post'},
);
};
getKnownUsers = () => {
return this.doFetch<Array<UserProfile['id']>>(
`${this.getUsersRoute()}/known`,

Просмотреть файл

@@ -709,6 +709,7 @@ export type LdapSettings = {
LoginButtonColor: string;
LoginButtonBorderColor: string;
LoginButtonTextColor: string;
MaximumLoginAttempts: number;
};
export type ComplianceSettings = {

Просмотреть файл

@@ -60,6 +60,7 @@ export type UserProfile = {
terms_of_service_create_at: number;
remote_id?: string;
status?: string;
failed_attempts?: number;
custom_profile_attributes?: Record<string, string>;
};