Skip to content
Snippets Groups Projects
Commit 693a5428 authored by Varac's avatar Varac
Browse files

Merge branch '52-autofocus-on-username-field' into 'master'

Resolve "Autofocus on username field"

Closes #52

See merge request openappstack/single-sign-on!27
parents 551a026b ca9620d7
No related branches found
No related tags found
1 merge request!27Resolve "Autofocus on username field"
Pipeline #3805 passed with stages
in 1 minute and 48 seconds
......@@ -4,3 +4,5 @@ __pycache__
*.lock
*.pyc
*.swp
**/.envrc
**/venv
export FLASK_SECRET_KEY="CHANGEME"
export FLASK_RUN_HOST="0.0.0.0"
export FLASK_RUN_PORT="5000"
export GRAPHQL_URL="http://localhost:5002/graphql"
export HYDRA_ADMIN_URL="http://localhost:4445"
export FLASK_ENV=development
......@@ -10,7 +10,7 @@
<form method="POST" action="/login">
{{ login_form.csrf_token }}
{{ login_form.challenge }}
{{ login_form.username(placeholder="Username") }}<br>
{{ login_form.username(placeholder="Username", autofocus=true) }}<br>
<div style="margin-top:5px">{{ login_form.password(placeholder="Password") }}</div> <br>
{{ login_form.remember }}{{ login_form.remember.label }} <br>
<div style="margin-top:5px">{{ login_form.submit }}</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment