Skip to content
Snippets Groups Projects
Commit b4e91f06 authored by David Mehren's avatar David Mehren
Browse files

Merge branch 'patch-1' into 'master'

Remove non-LDAP-Login formular from pug

See merge request !1
parents 6d2b56f6 d9843a5f
No related branches found
No related tags found
1 merge request!1Remove non-LDAP-Login formular from pug
Pipeline #2536 failed
......@@ -4,45 +4,6 @@ block content
.content.content-alt
.container
.row
.col-md-6.col-lg-6
.card
.page-header
h1 #{translate("log_in")}
form(async-form="login", name="loginForm", action='/login', method="POST", ng-cloak)
input(name='_csrf', type='hidden', value=csrfToken)
form-messages(for="loginForm")
.form-group
input.form-control(
type='email',
name='email',
required,
placeholder='email@example.com',
ng-model="email",
ng-model-options="{ updateOn: 'blur' }",
ng-init="email = "+JSON.stringify(email),
focus="true"
)
span.small.text-primary(ng-show="loginForm.email.$invalid && loginForm.email.$dirty")
| #{translate("must_be_email_address")}
.form-group
input.form-control(
type='password',
name='password',
id='password',
required,
placeholder='********',
ng-model="password"
)
span.small.text-primary(ng-show="loginForm.password.$invalid && loginForm.password.$dirty")
| #{translate("required")}
.actions
button.btn-primary.btn(
type='submit',
ng-disabled="loginForm.inflight"
)
span(ng-show="!loginForm.inflight") #{translate("login")}
span(ng-show="loginForm.inflight") #{translate("logging_in")}...
a.pull-right(href='/user/password/reset') #{translate("forgot_your_password")}?
.col-md-6.col-lg-6
.card
.page-header
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment