Exemple #1
0
 def _auth_method_user(cls):
     request.uid = request.session.uid
     if not request.uid:
         raise http.SessionExpiredException("Session expired")
Exemple #2
0
 def _auth_method_user(cls):
     if request.env.uid is None:
         raise http.SessionExpiredException("Session expired")