1
0
mirror of https://git.sr.ht/~tsileo/microblog.pub synced 2025-06-05 21:59:23 +02:00

Fix the setup wizard (fixes #51)

This commit is contained in:
Thomas Sileo
2019-05-17 18:54:03 +02:00
parent 766678fb8f
commit 42bf96e44a

View File

@@ -28,7 +28,7 @@ def main() -> None:
print("Your identity will be @{username}@{domain}")
dat["domain"] = prompt("domain: ")
dat["username"] = prompt("username: ")
dat["password"] = bcrypt.hashpw(
dat["pass"] = bcrypt.hashpw(
prompt("password: ", is_password=True).encode(), bcrypt.gensalt()
).decode()
dat["name"] = prompt("name (e.g. John Doe): ")