"use strict";

var jwt = angular.module('jwt', ['angular-jwt']);

jwt.service('jwtStore', function () {
  this.saveJwt = function (jwt) {
    localStorage.setItem('jwt', jwt);
  };
  this.removeJwt = function () {
    localStorage.removeItem('jwt');
  };
});

jwt.config(function ($httpProvider, jwtInterceptorProvider) {
  jwtInterceptorProvider.tokenGetter = function () {
    return localStorage.getItem('jwt');
  };
  $httpProvider.interceptors.push('jwtInterceptor');
});

@@ -127,37 +127,39 @@
 ion (jwt) %7B%0A    
-local
+session
 Storage.setItem(
@@ -213,21 +213,23 @@
 ) %7B%0A    
-local
+session
 Storage.
@@ -387,13 +387,15 @@
 urn 
-local
+session
 Stor

use sessionStorage