Enha: load state instead of room
This commit is contained in:
@ -80,6 +80,7 @@ func HandleFrontLogin(w http.ResponseWriter, r *http.Request) {
|
||||
// }
|
||||
// state := models.InitState(cleanName)
|
||||
state := models.MakeTestState()
|
||||
state.Username = cleanName
|
||||
// save state to cache
|
||||
saveState(cleanName, state)
|
||||
tmpl.ExecuteTemplate(w, "base", state)
|
||||
|
Reference in New Issue
Block a user