Skip to content

Multiple Instances in MSAL Pt. 1 - Cache Refactor and Adding Unique Keys #980

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Sep 16, 2019
2 changes: 1 addition & 1 deletion lib/msal-core/src/ServerRequestParameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class ServerRequestParameters {
* @param request
*/
private validatePromptParameter (prompt: string) {
if (!([PromptState.LOGIN, PromptState.SELECT_ACCOUNT, PromptState.CONSENT, PromptState.NONE].indexOf(prompt) >= 0)) {
if ([PromptState.LOGIN, PromptState.SELECT_ACCOUNT, PromptState.CONSENT, PromptState.NONE].indexOf(prompt) < 0) {
throw ClientConfigurationError.createInvalidPromptError(prompt);
}
}
Expand Down
197 changes: 0 additions & 197 deletions lib/msal-core/src/Storage.ts

This file was deleted.

Loading