Skip to content

Commit c0a2dc6

Browse files
authored
Merge pull request #1010 from AzureAD/multiple-instances
Multiple instances
2 parents de033db + 7e02177 commit c0a2dc6

17 files changed

+971
-736
lines changed

lib/msal-core/src/ServerRequestParameters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export class ServerRequestParameters {
137137
* @param request
138138
*/
139139
private validatePromptParameter (prompt: string) {
140-
if (!([PromptState.LOGIN, PromptState.SELECT_ACCOUNT, PromptState.CONSENT, PromptState.NONE].indexOf(prompt) >= 0)) {
140+
if ([PromptState.LOGIN, PromptState.SELECT_ACCOUNT, PromptState.CONSENT, PromptState.NONE].indexOf(prompt) < 0) {
141141
throw ClientConfigurationError.createInvalidPromptError(prompt);
142142
}
143143
}

lib/msal-core/src/Storage.ts

Lines changed: 0 additions & 199 deletions
This file was deleted.

0 commit comments

Comments
 (0)