Point to .bootstrap_password file instead of printing the seed for PR #7140
This commit is contained in:
parent
3e03c40161
commit
777e4abd7a
1 changed files with 2 additions and 3 deletions
|
|
@ -566,9 +566,8 @@ async def lifespan(app: FastAPI):
|
|||
print("\n" + "=" * 60)
|
||||
print("DEFAULT ADMIN ACCOUNT CREATED")
|
||||
print(f" username: {storage.DEFAULT_ADMIN_USERNAME}")
|
||||
print(f" password: {bootstrap_pw}")
|
||||
print(f" (also saved to: {bootstrap_path})")
|
||||
print(" Open the Studio UI to sign in and change it.")
|
||||
print(f" password saved to: {bootstrap_path}")
|
||||
print(" open that file to read the password, then sign in and change it.")
|
||||
print("=" * 60 + "\n")
|
||||
else:
|
||||
app.state.bootstrap_password = storage.get_bootstrap_password()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue