瀏覽代碼

Update authlib.py

Jose R Ortiz Ubarri 4 年之前
父節點
當前提交
0400ad25da
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1
    3
      authlib.py

+ 1
- 3
authlib.py 查看文件

@@ -33,9 +33,7 @@ class Auth:
33 33
         self.session["gallitosccom"] = True
34 34
         self.id = id
35 35
         self.email = email
36
-        # self.session["id"] = id
37
-        # self.session["email"] = email
38
-        self.session["id"] = self.fernet.encrypt(json.dumps({"id": id, "email": email}))_
36
+        self.session["id"] = self.fernet.encrypt(json.dumps({"id": id, "email": email}))
39 37
         if self.expire:
40 38
             self.session["tiempo"] = time.time()
41 39