Merge branch 'dev' of github.com:imbus64/TTime into dev
This commit is contained in:
commit
154c2240c8
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ func (gs *GState) ChangeUserName(c *fiber.Ctx) error {
|
|||
return c.Status(500).SendString(err.Error())
|
||||
} else if !ismanager {
|
||||
log.Warn("tried changing name when not projectmanager:", err)
|
||||
return c.Status(401).SendString("you can not change name when not projectManager")
|
||||
return c.Status(401).SendString("you can not change name when not projectmanager")
|
||||
}
|
||||
|
||||
// Change the user's name within the project in the database
|
||||
|
|
Loading…
Reference in a new issue