]> git.koha-community.org Git - koha.git/commit
Bug 36102: (follow-up) Add cud-login to the login form
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 20 Feb 2024 10:03:37 +0000 (11:03 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Mar 2024 10:00:31 +0000 (11:00 +0100)
commit5b82d6147729daa4f729667908d34a06e1a64cdf
tree29cc1d9f6fcf9558aa5bf33516bac10180c5eb0e
parent8f5782cf705abdac40c4f13f32e1830319f7137e
Bug 36102: (follow-up) Add cud-login to the login form

Hum this didn't make sense. We are not checking credentials after
checkauth.

This patch is suggesting to rename "userid" and "password" parameters
from login forms to "login_userid" and "login_password" to not interfere
with other parameters with the same name.

This looks quite correct, however I am seeing
  "The form submission failed (Wrong CSRF token)."
in the log after a successful login. Which feels wrong, what's
happening?

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Auth.pm
C4/InstallAuth.pm
koha-tmpl/intranet-tmpl/prog/en/modules/auth.tt
koha-tmpl/intranet-tmpl/prog/en/modules/installer/auth.tt
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt