Fix 404 & clean code
This commit is contained in:
parent
6b27dd545a
commit
68edf0a76f
9 changed files with 192 additions and 184 deletions
|
|
@ -90,9 +90,9 @@ func AccountManage(c *fiber.Ctx) error {
|
|||
result = db.Save(&user)
|
||||
if result.Error != nil {
|
||||
return result.Error
|
||||
} else {
|
||||
c.Redirect("/account/manage")
|
||||
}
|
||||
|
||||
c.Redirect("/account/manage")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue