Skip to content

Commit 4528e41

Browse files
authored
example how to use the check function
1 parent 70b8c75 commit 4528e41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
3.Upgrade
2020
4.License Key Only
2121
""")
22+
print(f"Current Session Validation Status: {keyauthapp.check()}")
2223
ans=input("Select Option: ")
2324
if ans=="1":
2425
user = input('Provide username: ')
@@ -47,3 +48,4 @@
4748
print("Created at: " + datetime.utcfromtimestamp(int(keyauthapp.user_data.createdate)).strftime('%Y-%m-%d %H:%M:%S'))
4849
print("Last login at: " + datetime.utcfromtimestamp(int(keyauthapp.user_data.lastlogin)).strftime('%Y-%m-%d %H:%M:%S'))
4950
print("Expires at: " + datetime.utcfromtimestamp(int(keyauthapp.user_data.expires)).strftime('%Y-%m-%d %H:%M:%S'))
51+
print(f"Current Session Validation Status: {keyauthapp.check()}")

0 commit comments

Comments
 (0)