mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 08:47:35 +08:00
Refactored user functions to use refrences rather than values
This commit is contained in:
@@ -327,7 +327,7 @@ func initialize() {
|
||||
}
|
||||
|
||||
func createAdminUser() {
|
||||
logic.CreateAdmin(models.User{
|
||||
logic.CreateAdmin(&models.User{
|
||||
UserName: "admin",
|
||||
Password: "password",
|
||||
IsAdmin: true,
|
||||
|
Reference in New Issue
Block a user