Procházet zdrojové kódy

fix to auth no root in cookie

version-14
Rushabh Mehta před 13 roky
rodič
revize
f09fcd7a4a
2 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -0
      .gitignore
  2. +0
    -1
      py/webnotes/auth.py

+ 1
- 0
.gitignore Zobrazit soubor

@@ -2,4 +2,5 @@
*.comp.js
*.DS_Store
user_files
logs
defs.py

+ 0
- 1
py/webnotes/auth.py Zobrazit soubor

@@ -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
# ---------------


Načítá se…
Zrušit
Uložit