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 committed 2022-08-14 13:24:59 +02:00
1 parent b198814aa7
commit 9cc37b0d0d
9 files changed
+170 -14

No files matched your search

+1 -2
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
}