mirror of
https://github.com/bitwarden/jslib
synced 2025-12-06 00:03:29 +00:00
Pass in null for sso organziation for now. (#531)
This will bypass cryptoagent
This commit is contained in:
@@ -151,7 +151,7 @@ export class LoginCommand {
|
|||||||
if (clientId != null && clientSecret != null) {
|
if (clientId != null && clientSecret != null) {
|
||||||
response = await this.authService.logInApiKey(clientId, clientSecret);
|
response = await this.authService.logInApiKey(clientId, clientSecret);
|
||||||
} else if (ssoCode != null && ssoCodeVerifier != null) {
|
} else if (ssoCode != null && ssoCodeVerifier != null) {
|
||||||
response = await this.authService.logInSso(ssoCode, ssoCodeVerifier, this.ssoRedirectUri);
|
response = await this.authService.logInSso(ssoCode, ssoCodeVerifier, this.ssoRedirectUri, null);
|
||||||
} else {
|
} else {
|
||||||
response = await this.authService.logIn(email, password);
|
response = await this.authService.logIn(email, password);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user