forked from forks/microblog.pub
Fix the setup wizard (fixes #51)
This commit is contained in:
parent
766678fb8f
commit
42bf96e44a
1 changed files with 1 additions and 1 deletions
|
@ -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): ")
|
||||||
|
|
Loading…
Reference in a new issue