mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-26 15:07:03 +01:00
Prefill guest textbox when already logged in
This commit is contained in:
parent
d12deb803d
commit
e78117e379
@ -74,7 +74,7 @@
|
|||||||
{% if unauth_enabled %}
|
{% if unauth_enabled %}
|
||||||
<div class="col s1 m8">
|
<div class="col s1 m8">
|
||||||
<p>Of course, you also have the option to login by picking a temporary username.</p>
|
<p>Of course, you also have the option to login by picking a temporary username.</p>
|
||||||
<input id="custom_username_field" type="text">
|
<input id="custom_username_field" type="text" {% if session.unauthenticated and session.username %}value="{{ session['username'] }}"{% endif %}>
|
||||||
<label class="active" for="custom_username_field">Username</label>
|
<label class="active" for="custom_username_field">Username</label>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user