Merge pull request #1166 from lemondevxyz/fix-issue-1164

fix 1password generating passwords on login page
This commit is contained in:
David Benque 2023-09-29 15:47:12 +01:00 committed by GitHub
commit 30262ac15f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 7 deletions

View File

@ -43,8 +43,10 @@ define([
]),
h('div.extra', [
(Config.restrictRegistration?
undefined:
h('button#register.cp-secondary', Msg.login_register)
undefined:
h('a#register', {
href: "/register/",
}, Msg.login_register)
),
h('button.login', Msg.login_login)
])

View File

@ -123,11 +123,6 @@ body.html {
background-color: contrast(@cp_buttons-primary-text, darken(@cp_buttons-primary, 10%), lighten(@cp_buttons-primary, 10%));
}
}
button.cp-secondary {
background-color: @cp_buttons-cancel;
color: @cp_buttons-fg;
border: 1px solid @cp_buttons-fg;
}
.form-group {
// & > * {