Exemple #1
0
 def modhash(self, rand=None, test=False):
     if c.oauth_user:
         # OAuth clients should never receive a modhash of any kind
         # as they could use it in a CSRF attack to bypass their
         # permitted OAuth scopes.
         return None
     return modhash(self, rand=rand, test=test)
Exemple #2
0
 def modhash(self, rand=None, test=False):
     if c.oauth_user:
         # OAuth clients should never receive a modhash of any kind
         # as they could use it in a CSRF attack to bypass their
         # permitted OAuth scopes.
         return None
     return modhash(self, rand = rand, test = test)
Exemple #3
0
 def modhash(self, rand=None, test=False):
     return modhash(self, rand = rand, test = test)
Exemple #4
0
 def modhash(self, rand=None, test=False):
     return modhash(self, rand = rand, test = test)