mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 22:47:04 +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 %}
|
||||
<div class="col s1 m8">
|
||||
<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>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user