Fix the setup wizard (fixes #51)
This commit is contained in:
@@ -28,7 +28,7 @@ def main() -> None:
|
|||||||
print("Your identity will be @{username}@{domain}")
|
print("Your identity will be @{username}@{domain}")
|
||||||
dat["domain"] = prompt("domain: ")
|
dat["domain"] = prompt("domain: ")
|
||||||
dat["username"] = prompt("username: ")
|
dat["username"] = prompt("username: ")
|
||||||
dat["password"] = bcrypt.hashpw(
|
dat["pass"] = bcrypt.hashpw(
|
||||||
prompt("password: ", is_password=True).encode(), bcrypt.gensalt()
|
prompt("password: ", is_password=True).encode(), bcrypt.gensalt()
|
||||||
).decode()
|
).decode()
|
||||||
dat["name"] = prompt("name (e.g. John Doe): ")
|
dat["name"] = prompt("name (e.g. John Doe): ")
|
||||||
|
Reference in New Issue
Block a user