Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
div.login-page
form(class='form-login', action='/web-login', method='POST')
input(type='text', name='username', placeholder='Username',required, autofocus)
input(type='password', name='password', placeholder='Password', required)
input(type='hidden', id='url', name='url')
button(class='btn', type='submit') Sign in
script(type='text/javascript').
document.getElementById("url").value = window.location.hash;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.