mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-08 15:59:09 +00:00
FEAT: add authProvider field to user response
- Add authProvider to user entity DTO - Update user service to include authProvider - Update auth controller response Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
275a53dbd1
commit
52bda8ebe2
@@ -215,7 +215,8 @@ export class AuthController {
|
||||
|
||||
const { username } = body;
|
||||
|
||||
return this.authClient.resetPassword({ username }, metadata);
|
||||
await this.authClient.resetPassword({ username }, metadata);
|
||||
return { authProvider: process.env.AUTH_PROVIDER || 'cognito' };
|
||||
}
|
||||
|
||||
@ApiInternalOnlyEndpoint()
|
||||
|
||||
Reference in New Issue
Block a user