Create default administrator account on server (closes #88) #91
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Project/Client
Project/Server
Project/liblanbassador
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
luca0N/lanbassador!91
Loading…
Reference in a new issue
No description provided.
Delete branch "dev_server_default_admin"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When running the server for the first time (i.e., if the server is started on a fresh database1), create a default administrator and print its credentials to standard output. This is needed so that the administrator can have one account to login to the server without having to manually modify the database.
The account is created if no other account with the username
adminexists. ↩︎Create default administrator account on serverto Create default administrator account on server (closes #88)@ -149,0 +151,4 @@func checkAdminAccount() {defaultId := 0defaultUsername := "admin"defaultPassword := "admin"It'd be more secure to force the administrator to change the password upon first login, or generate a random password (even safer).
12c006b45b2d5d55d75aPrevious force-push operation was made from
12c006b45bto2d5d55d75ato squash all commits into one.