1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Password login improvements

This commit is contained in:
Steffo 2019-08-03 12:33:14 +02:00
parent 02d1419204
commit 44647dffd7

View file

@ -13,9 +13,20 @@
</span>
</div>
<div class="dbox-bot">
<p>
Non hai una password? Prova il <a href="{{ url_for("tglogin.tglogin_index") }}">Login con Telegram</a>!
</p>
<form action="{{ url_for("login.login_done") }}" method="post" class="login-form full">
<label for="login-username">
<span class="label-text">Username</span>
<input id="login-username" type="text" name="username">
</label>
<label for="login-password">
<span class="label-text">Password</span>
<input id="login-password" type="password" name="password">
</label>
<label for="login-submit">
<input id="login-submit" type="submit" value="Login">
</label>
</form>
<div class="tiny">
<p>
Facendo il login su questo sito, acconsenti a ricevere due <abbr title="cookie">biscottini</abbr> che memorizzino l'account con cui hai fatto il login.<br>
</p>
@ -30,19 +41,7 @@
}
session["login_date"] = [la data e l'ora di adesso]</code></pre>
<form action="{{ url_for("login.login_done") }}" method="post" class="login-form full">
<label for="login-username">
<span class="label-text">Username</span>
<input id="login-username" type="text" name="username">
</label>
<label for="login-password">
<span class="label-text">Password</span>
<input id="login-password" type="password" name="password">
</label>
<label for="login-submit">
<input id="login-submit" type="submit" value="Login">
</label>
</form>
</div>
</div>
</div>
</div>