fixed newlines
This commit is contained in:
@@ -0,0 +1 @@
|
||||
|
||||
|
||||
@@ -662,4 +662,3 @@ def ldap_auth(server='ldap', port=None,
|
||||
if filterstr[0] == '(' and filterstr[-1] == ')': # rfc4515 syntax
|
||||
filterstr = filterstr[1:-1] # parens added again where used
|
||||
return ldap_auth_aux
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
@@ -147,7 +147,7 @@ server for requests. It can be used for the optional"scope" parameters for Face
|
||||
# reuse token until expiration
|
||||
if expires == 0 or expires > time.time():
|
||||
return current.session.token['access_token']
|
||||
|
||||
|
||||
code = current.request.vars.code
|
||||
|
||||
if code:
|
||||
|
||||
@@ -135,7 +135,7 @@ class OpenIDAuth(object):
|
||||
Otherwise it's always 'openid' and you
|
||||
may not need it. This should be easy to changed.
|
||||
(Just remove the field of "type" and remove the
|
||||
"and db.alt_logins.oidtype == type_"
|
||||
"and db.alt_logins.oidtype == type_"
|
||||
in _find_matched_openid function)
|
||||
"""
|
||||
db = self.db
|
||||
|
||||
+2364
-2364
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user