This commit is contained in:
2023-11-20 13:01:32 +01:00
parent 078af33e77
commit 7a7edc1f92
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -6,6 +6,7 @@ from onetimepass import valid_totp
from secrets import choice
import segno
from os import path
import uuid
class Tools():
@@ -69,4 +70,7 @@ class Tools():
print('Wrong otp, please try again.')
return False
def session_id(self):
return uuid.uuid4().hex
tools = Tools()