예제 #1
0
파일: account.py 프로젝트: shuapeng/reddit
 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)
예제 #2
0
파일: account.py 프로젝트: Acceto/reddit
 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)
예제 #3
0
파일: account.py 프로젝트: NkL4/reddit
 def modhash(self, rand=None, test=False):
     return modhash(self, rand = rand, test = test)
예제 #4
0
 def modhash(self, rand=None, test=False):
     return modhash(self, rand = rand, test = test)