Refactored user functions to use refrences rather than values

This commit is contained in:
walkerwmanuel
2022-12-20 15:10:40 -05:00
parent e48abd3318
commit 71d66b7f93
11 changed files with 68 additions and 103 deletions

View File

@@ -327,7 +327,7 @@ func initialize() {
}
func createAdminUser() {
logic.CreateAdmin(models.User{
logic.CreateAdmin(&models.User{
UserName: "admin",
Password: "password",
IsAdmin: true,