Skip to content

Commit

Permalink
Merge pull request #91 from zooniverse/token-storage
Browse files Browse the repository at this point in the history
Use local storage for session tokens
  • Loading branch information
shaunanoordin authored May 9, 2018
2 parents 6cfcf9b + e6581ed commit 6cd11cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oauth.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var TOKEN_EXPIRATION_ALLOWANCE = 5 * 60 * 1000;
var LOCAL_STORAGE_PREFIX = 'panoptesClientOAuth_';

// Specify whether to use local or session storage for session data.
var SESSION_STORAGE = window.sessionStorage;
var SESSION_STORAGE = window.localStorage;

// Create our model, then do stuff with it later
module.exports = new Model({
Expand Down

0 comments on commit 6cd11cf

Please sign in to comment.