|
|
|
|
33
|
self.session["gallitosccom"] = True
|
33
|
self.session["gallitosccom"] = True
|
34
|
self.id = id
|
34
|
self.id = id
|
35
|
self.email = email
|
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
|
if self.expire:
|
37
|
if self.expire:
|
40
|
self.session["tiempo"] = time.time()
|
38
|
self.session["tiempo"] = time.time()
|
41
|
|
39
|
|