Example #1
0
 def logout(self):
     session.clear()
     session.save()
     return render('/login.mako')
Example #2
0
 def display(self):
     if not session.get("user"):
         return render('/login.mako')
     else:
         return render('/main.mako')
Example #3
0
 def logout(self):
     session.clear()
     session.save()
     return render('/login.mako')
Example #4
0
 def display(self):
     if not session.get("user"):
         return render('/login.mako')
     else:
         return render('/main.mako')
Example #5
0
 def index(self):
     if not session.get("user"):
         return render("/login.mako")
     else:
         return render("/main.mako")
Example #6
0
 def index(self):
     if not session.get("user"):
         return render("/login.mako")
     else:
         return render("/main.mako")