Esempio n. 1
0
 def submit_url(self):
     if self.is_logged_in():
         return 'castle_logout'
     else:
         return util.login_URL(self.context)
Esempio n. 2
0
 def __call__(self):
     return util.login_URL(self.context)