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