Chore: model update
This commit is contained in:
		| @@ -79,15 +79,10 @@ func HandleFrontLogin(w http.ResponseWriter, r *http.Request) { | ||||
| 		return | ||||
| 	} | ||||
| 	http.SetCookie(w, cookie) | ||||
| 	// tmpl, err := template.ParseGlob("components/*.html") | ||||
| 	// if err != nil { | ||||
| 	// 	abortWithError(w, err.Error()) | ||||
| 	// 	return | ||||
| 	// } | ||||
| 	// check if that user was already in db | ||||
| 	userstate, err := loadState(cleanName) | ||||
| 	if err != nil || userstate == nil { | ||||
| 		userstate = models.InitState(cleanName) | ||||
| 		userstate = models.InitPlayer(cleanName) | ||||
| 	} | ||||
| 	fi := &models.FullInfo{ | ||||
| 		State: userstate, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder