This website works better with JavaScript.
Home
Explore
Help
Sign In
dan
/
ti-account-app
Watch
2
Star
1
Fork
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
Browse Source
Make session shared across domains too
mistress
Daniel Muckerman
3 years ago
parent
c1911075ee
commit
5bb33b681e
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
accounts/__init__.py
+ 1
- 0
accounts/__init__.py
View File
@ -30,6 +30,7 @@ app.config['LDAP_OPENLDAP'] = True
app
.
config
[
'
LDAP_USER_OBJECT_FILTER
'
]
=
'
(&(objectclass=posixAccount)(uid=
%s
))
'
# Login cookies
app
.
config
[
'
SESSION_COOKIE_DOMAIN
'
]
=
os
.
environ
.
get
(
'
COOKIE_DOMAIN
'
)
app
.
config
[
'
REMEMBER_COOKIE_DOMAIN
'
]
=
os
.
environ
.
get
(
'
COOKIE_DOMAIN
'
)
db
=
SQLAlchemy
(
app
)
Write
Preview
Loading…
Cancel
Save