Upgrades to Config
* Added config file and config tests * Configs per stack can be set up depending on their config/STACK folder and tested appropriately to add config redundancy
This commit is contained in:
@@ -301,8 +301,7 @@ func UserResetForgottenPassword() gin.HandlerFunc {
|
||||
|
||||
resetting.SetPassword(resetVals.NewPassword)
|
||||
if err := resetting.Save(); err != nil {
|
||||
log.
|
||||
log.Error("could not save user", err)
|
||||
log.Println("could not save user", err)
|
||||
c.AbortWithStatus(http.StatusUnauthorized)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user