mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: update to next@14.2.2
This commit is contained in:
parent
0b57cf362c
commit
a89e98d063
3 changed files with 49 additions and 40 deletions
|
|
@ -55,9 +55,10 @@ def install(
|
|||
# Create Organization User
|
||||
print("Creating default organization user...")
|
||||
# Generate random 6 digit password
|
||||
email = "admin@school.dev"
|
||||
password = generate_password(8)
|
||||
user = UserCreate(
|
||||
username="admin", email=EmailStr("admin@school.dev"), password=password
|
||||
username="admin", email=EmailStr(email), password=password
|
||||
)
|
||||
install_create_organization_user(user, "default", db_session)
|
||||
print("Default organization user created ✅")
|
||||
|
|
@ -66,7 +67,7 @@ def install(
|
|||
print("Installation completed ✅")
|
||||
print("")
|
||||
print("Login with the following credentials:")
|
||||
print("email: admin@school.io")
|
||||
print("email: " + email)
|
||||
print("password: " + password)
|
||||
print("⚠️ Remember to change the password after logging in ⚠️")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue