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:
🐙PiperYxzzy
2022-08-14 12:55:11 +02:00
parent b198814aa7
commit 9cc37b0d0d
9 changed files with 170 additions and 14 deletions

View File

@@ -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
}