Message
Message
Message
plan = ""
"""
print(f"{Center.XCenter(vgratient(self, [178, 114, 242], [178, 114, 242]))}
{RESET}")
license_key_valid = False
while not license_key_valid:
license_key = input(f'''{L1} [+] ENTER THE
LICENSE KEY: ''')
if validate_license_key(license_key):
license_key_valid = True
choice = input(" [+] LOG IN / REGISTER
").lower()
if choice == 'login':
login(users, license_key)
elif choice == 'register':
register(users, license_key)
else:
print(" [+] INVALID CHOICE, ONLY
CHOOSE FROM 'LOGIN / REGISTER.")
login_or_register()
else:
print(" [+] LICENSE KEY IS INVALID OR
EXPIRED. ACCESS DENIED.")
reset()
if username in users:
print("Username already exists. Please choose another one.")
register(users, license_key)
else:
password = input(" [NEW PASSWORD] ")
users[username] = {'password': password, 'license_key': license_key}
save_users_to_file(users)
print("Registration successful!")
users['logged_in_user'] = username
save_users_to_file(users)
plan = get_user_plan(username)