func (VS *Server) resetPassword(c *gin.Context) {
	id, b := VS.getIDParamFromURL(c, "id")
	if !b {
		return
	}
	// Reset the password to the User
	u := VS.getUserByID(c, id, "h_settings", "setPassword", "u := VS.getUserFomCookie")
	u.Password = ""
	b = VS.addUserToDatabase(c, u, "h_settings", "setPassword", "VS.addUserToDatabase(c, u")
	if !b {
		VS.wrongFeedback(c, "The User could not be updated")
	}
	// Audit
	audit := VS.getAuditFromCentral(c, u, u.ID, Modified)
	// Changes
	VS.checkChange(c, audit.ID, "Change ", "Made by ", "Manager")
	VS.checkChange(c, audit.ID, "Password", "Private  : )", "Private ; )")
	VS.addElementToDatabaseWithRegisterFromCentral(c, audit, audit.ID, "h_settings", "setPassword", "VS.checkChange(c, audit.ID")
	VS.goodFeedback(c, "")
}
// Sets the new password of the User to ""
Sets the new password of the User to ""
// Sets the new password of the User to " "
func (VS *Server) resetPassword(c *gin.Context) {
	id, b := VS.getIDParamFromURL(c, "id")
	if !b {
		return
	}
	u := VS.getUserByID(c, id, "h_settings", "setPassword", "u := VS.getUserFomCookie")
	u.Password = ""
	b = VS.addUserToDatabase(c, u, "h_settings", "setPassword", "VS.addUserToDatabase(c, u")
	if !b {
		VS.wrongFeedback(c, "The User could not be updated")
	}
	audit := VS.getAuditFromCentral(c, u, u.ID, Modified)
	VS.checkChange(c, audit.ID, "Change ", "Made by ", "Manager")
	VS.checkChange(c, audit.ID, "Password", "Private  : )", "Private ; )")
	VS.addElementToDatabaseWithRegisterFromCentral(c, audit, audit.ID, "h_settings", "setPassword", "VS.checkChange(c, audit.ID")
	VS.goodFeedback(c, "")
}
func ( VS * Server ) resetPassword ( c * gin . Context ) { id , b := VS . getIDParamFromURL ( c , " " ) if ! b { return } u := VS . getUserByID ( c , id , " " , " " , " " ) u . Password = " " b = VS . addUserToDatabase ( c , u , " " , " " , " " ) if ! b { VS . wrongFeedback ( c , " " ) } audit := VS . getAuditFromCentral ( c , u , u . ID , Modified ) VS . checkChange ( c , audit . ID , " " , " " , " " ) VS . checkChange ( c , audit . ID , " " , " " , " " ) VS . addElementToDatabaseWithRegisterFromCentral ( c , audit , audit . ID , " " , " " , " " ) VS . goodFeedback ( c , " " ) }
Sets the new password of the User to ""
Sets the new password of the User to " "
// Reset the password to the User // Audit // Changes