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)
committerMason James <mtj@kohaaloha.com>
Sun, 30 Apr 2017 11:19:56 +0000 (23:19 +1200)
commit32ceafbf418490a34f4fa6dcf9c5f94097d0f4e1
tree06c93363fd1237ea0b6a7730c1900738cb2eb28d
parentb8c6167f9f5c22286a590539dcfae54832f35a8f
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>
C4/InstallAuth.pm