Skip to content

Commit

Permalink
Merge pull request #844 from aholachek/lib
Browse files Browse the repository at this point in the history
prevent non-signed-user from accessing #user/libraries
  • Loading branch information
aholachek committed Mar 4, 2016
2 parents 96d86f0 + b3c41f9 commit 16cc357
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 16cc357

Please sign in to comment.