mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 06:33:07 +00:00
only filter sessions if hint is provided
This commit is contained in:
@@ -66,7 +66,7 @@ function findValidSession(
|
||||
if (authRequest.loginHint) {
|
||||
return s.factors?.user?.loginName === authRequest.loginHint;
|
||||
}
|
||||
return false;
|
||||
return true;
|
||||
})
|
||||
.filter(isSessionValid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user