mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-03 08:15:38 +00:00
feat(auth): Send prompt=select_account to IdM when adding additional accounts.
This commit is contained in:
@@ -620,6 +620,9 @@ export default function LoginPage() {
|
||||
authUrl.searchParams.set("state", state);
|
||||
authUrl.searchParams.set("code_challenge", challenge);
|
||||
authUrl.searchParams.set("code_challenge_method", "S256");
|
||||
if (isAddAccountMode) {
|
||||
authUrl.searchParams.set("prompt", "select_account");
|
||||
}
|
||||
|
||||
window.location.href = authUrl.toString();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user