WLWTNO4YJ4VBMJYVTP2LGPFQAJTOB524BD5INJFA44X2FKAX76DQC
GZNMGW5MOJLKWVQ2ROODYOVZZHEWHO3JTTEYHHN3EHAJ3J3TBWRAC
HTYEGVBU6MODOOW4UPEGSHLH4CQFYCDSFVAF2MRQW2RCDP7ITNXQC
WW3KRXX63EYWW4563QM3VSEN4PGCPR76KJQBYIKCKOCNMDG6JW4QC
HZDCKIXQ3LCD7YPL7ZZBCRMD7YMKDJ2QAALETTG3FYMBF4TNFUBAC
EVP2FSBHQUCAXQ6IIMBD6IS24ODKHP6HFWYCHIMYG6KOFRQG3RVQC
4MZ4VIR7FU3PQ3WKJI6TJIKYOIIBODFEPKLMQ32S4AKPZSDFO6AQC
65A3LIWUS7UNMIHACC7ED6SSSSGQMKW4SAHQLXMT2YT6PFJ7KVUQC
WVHXYKCVPKAFVMXBEMD3IHG54RKOIDSOCVNR3OIPEZQG36IGYJZQC
<label for="password">Password:</label>
<input name="password_copy" type="password" placeholder="Copy password" required autofocus />
<label for="password_copy">Password:</label>
<input name="password_copy" id="password_copy" type="password" placeholder="Copy password" required autofocus />
{{> footer}}
<h1>Reset game password</h1>
<form id="query-reset-game-form" action="query-reset-game-pwd.do" method="post">
<fieldset>
<legend>Enter contact data to request game password change:</legend>
<div>
<label for="login">Username:</label>
<input name="login" id="login" type="text" placeholder="Username" required autofocus />
</div>
<div>
<input type="radio" name="contact_type" value="email">E-mail<br>
</div>
<div>
<label for="contact">Contact:</label>
<input name="contact" id="contact" type="text" placeholder="Contact" required autofocus />
</div>
<input name="csrf" type="hidden" value="{{ csrf }}">
<input name="submit" type="submit" value="Reset password">
</fieldset>
</form>
#[actix_web::post("/query-reset-game-pwd.do")]
pub async fn post_query_reset_game_pwd(
form: web::Form<FormData>,
data: web::Data<WebData<'_>>,
) -> HttpResponse {
HttpResponse::Found()
.append_header((header::LOCATION, "index.html"))
.finish()
}