Skip to content

Commit

Permalink
Let the geverui expire in one year instead on session end
Browse files Browse the repository at this point in the history
  • Loading branch information
elioschmutz committed Mar 3, 2020
1 parent 17cca83 commit 53e15de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opengever/base/browser/resources/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ $(document).delegate('body', 'tabbedview.unknownresponse', function(event, overv
*/
function switchUI(){
var pathname = new URL($('body').data('portal-url')).pathname;
Cookies.set('geverui', '1', {path: pathname});
Cookies.set('geverui', '1', {path: pathname, expires: 365});
window.location.reload(true);
}

0 comments on commit 53e15de

Please sign in to comment.