fix to auth no root in cookie
This commit is contained in:
parent
b2e53eb793
commit
f09fcd7a4a
2 changed files with 1 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,4 +2,5 @@
|
|||
*.comp.js
|
||||
*.DS_Store
|
||||
user_files
|
||||
logs
|
||||
defs.py
|
||||
|
|
|
|||
|
|
@ -277,7 +277,6 @@ class CookieManager:
|
|||
expires = datetime.datetime.now() + datetime.timedelta(days=3)
|
||||
|
||||
webnotes.cookies['sid']['expires'] = expires.strftime('%a, %d %b %Y %H:%M:%S')
|
||||
webnotes.cookies['path'] = '/'
|
||||
|
||||
# Set Remember Me
|
||||
# ---------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue