Rework remote_login and remove protect decorator
[cascardo/ipsilon.git] / ipsilon / util / page.py
index ae1f116..e90ec2d 100755 (executable)
@@ -33,10 +33,6 @@ def admin_protect(fn):
     return check
 
 
-def protect():
-    UserSession().remote_login()
-
-
 class Page(object):
     def __init__(self, site, form=False):
         if 'template_env' not in site: