Skip to content

Commit

Permalink
prevent no-signed-user from accessing #user/libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
aholachek committed Mar 4, 2016
1 parent 96d86f0 commit b3c41f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/js/apps/discovery/navigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ define([

this.set("AllLibrariesWidget", function(widget, subView){

if (redirectIfNotSignedIn())
return;

var subView = subView || "libraries";
app.getObject('MasterPageManager').show("LibrariesPage",
["AllLibrariesWidget", "UserNavbarWidget"]);
Expand Down

0 comments on commit b3c41f9

Please sign in to comment.