Skip to content
Snippets Groups Projects
Commit 7db547e4 authored by chbaeh's avatar chbaeh
Browse files

ODPSH-293: redirect not logged in user

parent 4bcf4b36
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,8 @@ class OdshUserController(UserController):
return super(OdshUserController,self).dashboard_datasets(id)
def read(self, id=None):
if not c.user:
h.redirect_to(controller='user', action='login')
return super(OdshUserController,self).read(id)
def follow(self, id):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment