Bug 12930: Web installer does not show login errors
authorAlex Buckley <alexbuckley@catalyst.net.nz>
Sat, 8 Apr 2017 23:18:23 +0000 (23:18 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 21 Apr 2017 11:12:23 +0000 (13:12 +0200)
commit51041437ced506811b7b818ee4e14950efe7249c
tree9cac8f62ff7ac41c1b3443e6719fc454b018377b
parentcfe5a1b29d24e050357ccb8998d5dd16fd5c4568
Bug 12930: Web installer does not show login errors

Implemented invalid_username_or_password template
variable being handed to Auth.tt. Removed indentation
changes and modification to return value of checkpw

Test plan:
See comment #2

Alternative test plan:
- Clear session cookies or close / open your browser
- Go to  [MY SERVER]/cgi-bin/koha/installer/install.pl
- Verify that message appears if wrong username/pw provided
- Verify that you can log in with databas administrator account

Tested with alternative test plan, works as expected. Title and
description in commit message adapted.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 87eb80136d49451d0a9cc25e68db452a33f1771a)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
(cherry picked from commit 8c17314ef80cc54180446f7c3e85dbcf7125aebd)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/InstallAuth.pm