mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-13 09:25:12 +00:00
fix(console): configWithPrompt cleanup (#3796)
* fix: configWithPrompt cleanup * code dialog text Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
co-authored by
Livio Spring
parent
11d24f6d8a
commit
b1da8975f5
@@ -50,15 +50,13 @@ export class AccountsCardComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
public selectAccount(loginHint?: string): void {
|
||||
public selectAccount(loginHint: string): void {
|
||||
const configWithPrompt: Partial<AuthConfig> = {
|
||||
customQueryParams: {
|
||||
// prompt: 'select_account',
|
||||
} as any,
|
||||
login_hint: loginHint,
|
||||
},
|
||||
};
|
||||
if (loginHint) {
|
||||
(configWithPrompt as any).customQueryParams['login_hint'] = loginHint;
|
||||
}
|
||||
(configWithPrompt as any).customQueryParams['login_hint'] = loginHint;
|
||||
this.authService.authenticate(configWithPrompt);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user