|
@@ -33,7 +33,7 @@ class Auth:
|
33
|
33
|
self.session["gallitosccom"] = True
|
34
|
34
|
self.id = id
|
35
|
35
|
self.email = email
|
36
|
|
- 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}).encode())
|
37
|
37
|
if self.expire:
|
38
|
38
|
self.session["tiempo"] = time.time()
|
39
|
39
|
|