mirror of
https://github.com/wisplite/raster.git
synced 2026-05-01 06:32:44 -05:00
humble beginnings (frontend edition)
This commit is contained in:
@@ -18,6 +18,7 @@ func CreateUser(username string, password string) error {
|
||||
Username: username,
|
||||
Password: string(hashedPassword),
|
||||
IsAdmin: false,
|
||||
IsActive: false,
|
||||
}
|
||||
result := db.GetDB().Create(&user)
|
||||
if result.Error != nil {
|
||||
|
||||
Reference in New Issue
Block a user