Skip to content

Commit

Permalink
Esri#295: Syntax fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
skitterm committed Sep 20, 2018
1 parent 1dba15d commit eb96e2b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/arcgis-rest-auth/src/UserSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export interface IUserSessionOptions {
portal?: string;

/**
* Whether requests should be made exlusively over HTTPS.
* Whether requests should be made exclusively over HTTPS.
*/
ssl?: boolean;

Expand Down Expand Up @@ -221,7 +221,7 @@ export class UserSession implements IAuthenticationManager {
readonly portal: string;

/**
* Whether requests should be made exlusively over HTTPS.
* Whether requests should be made exclusively over HTTPS.
*/
readonly ssl: boolean;

Expand Down Expand Up @@ -470,8 +470,8 @@ export class UserSession implements IAuthenticationManager {
);
const username = decodeURIComponent(match[3]);
const ssl =
win.location.href.indexOf("&ssl=true") !== -1 ||
win.location.href.indexOf("#ssl=true") !== -1;
win.location.href.indexOf("&ssl=true") > -1 ||
win.location.href.indexOf("#ssl=true") > -1;

return completeSignIn(undefined, {
token,
Expand Down

0 comments on commit eb96e2b

Please sign in to comment.