Spaces:
Running
Running
David Ko
commited on
Commit
·
49ce704
1
Parent(s):
e6821c4
Add default user credentials to login form
Browse files
api.py
CHANGED
@@ -1209,11 +1209,11 @@ LOGIN_TEMPLATE = '''
|
|
1209 |
<input type="password" name="fakepasswordremembered" style="display:none" tabindex="-1" autocomplete="off">
|
1210 |
<div class="form-group">
|
1211 |
<label for="username">Username</label>
|
1212 |
-
<input type="text" id="username" name="username" required autocomplete="username" autocapitalize="none" autocorrect="off" spellcheck="false">
|
1213 |
</div>
|
1214 |
<div class="form-group">
|
1215 |
<label for="password">Password</label>
|
1216 |
-
<input type="password" id="password" name="password" required autocomplete="current-password" autocapitalize="none" autocorrect="off" spellcheck="false">
|
1217 |
</div>
|
1218 |
<button type="submit">Login</button>
|
1219 |
{% if error %}
|
|
|
1209 |
<input type="password" name="fakepasswordremembered" style="display:none" tabindex="-1" autocomplete="off">
|
1210 |
<div class="form-group">
|
1211 |
<label for="username">Username</label>
|
1212 |
+
<input type="text" id="username" name="username" value="user" required autocomplete="username" autocapitalize="none" autocorrect="off" spellcheck="false">
|
1213 |
</div>
|
1214 |
<div class="form-group">
|
1215 |
<label for="password">Password</label>
|
1216 |
+
<input type="password" id="password" name="password" value="user123" placeholder="******" required autocomplete="current-password" autocapitalize="none" autocorrect="off" spellcheck="false">
|
1217 |
</div>
|
1218 |
<button type="submit">Login</button>
|
1219 |
{% if error %}
|