Exemple #1
0
 def loginVerfiy(self):
     rs=self.queryData("aws_verfiy_user")
     if rs["code"]==1:
         session = request.environ['beaker.session']
         session['login_name']=rs["result"]["login_name"]
         return redirect("/MgrBCard/default")
     else:
         return redirect("/Manager/default")
Exemple #2
0
 def redirectUrl(self,url="/Manager/default"):
     return redirect("/Manager/default")
Exemple #3
0
def handel_redirect():
    return redirect(request.path+'/')