Esempio n. 1
0
    def _new_account(self):
        name = input("Name: ")
        password = getpass.getpass("Password: "******"Invalid arguments.")
            return

        account = AccountManager.create_account(name, password)
        if account:
            print("Account created.")
        else:
            print("Account couldn't be created.")
Esempio n. 2
0
    def _new_account(self):
        name = input("Name: ")
        password = getpass.getpass("Password: "******"Invalid arguments.")
            return

        account = AccountManager.create_account(name, password)
        if account:
            print("Account created.")
        else:
            print("Account couldn't be created.")