feat: Add manual login option and password reset link for SSO (#6328)
* consolidate IUserSettings in workflow and add allowSSOManualLogin * add pw reset link to owners ui
This commit is contained in:
committed by
GitHub
parent
8f0ff460b1
commit
77e3f1551d
@@ -40,6 +40,10 @@ export class UserSettingsUpdatePayload {
|
||||
@IsBoolean({ message: 'userActivated should be a boolean' })
|
||||
@IsOptional()
|
||||
userActivated: boolean;
|
||||
|
||||
@IsBoolean({ message: 'allowSSOManualLogin should be a boolean' })
|
||||
@IsOptional()
|
||||
allowSSOManualLogin?: boolean;
|
||||
}
|
||||
|
||||
export type AuthlessRequest<
|
||||
@@ -250,6 +254,14 @@ export declare namespace UserRequest {
|
||||
{ limit?: number; offset?: number; cursor?: string; includeRole?: boolean }
|
||||
>;
|
||||
|
||||
export type PasswordResetLink = AuthenticatedRequest<{ id: string }, {}, {}, {}>;
|
||||
|
||||
export type UserSettingsUpdate = AuthenticatedRequest<
|
||||
{ id: string },
|
||||
{},
|
||||
UserSettingsUpdatePayload
|
||||
>;
|
||||
|
||||
export type Reinvite = AuthenticatedRequest<{ id: string }>;
|
||||
|
||||
export type Update = AuthlessRequest<
|
||||
|
||||
Reference in New Issue
Block a user