diff --git a/ckanext/odsh/controller.py b/ckanext/odsh/controller.py index 34b7eeeb94a532f25f6d5eac69257318fa00449f..d1a81c5db2743b6624504d009f9f99bcc7437d26 100644 --- a/ckanext/odsh/controller.py +++ b/ckanext/odsh/controller.py @@ -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):