Bugzilla – Attachment 62116 Details for
Bug 12930
Web installer does not show login errors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12930 - Implemented invalid_username_or_password template variable being handed to Auth.tt. Removed indentation changes and modification to return value of checkpw
Bug-12930---Implemented-invalidusernameorpassword-.patch (text/plain), 968 bytes, created by
Alex Buckley
on 2017-04-13 02:35:57 UTC
(
hide
)
Description:
Bug 12930 - Implemented invalid_username_or_password template variable being handed to Auth.tt. Removed indentation changes and modification to return value of checkpw
Filename:
MIME Type:
Creator:
Alex Buckley
Created:
2017-04-13 02:35:57 UTC
Size:
968 bytes
patch
obsolete
>From d4e5ff53a332e7909d68164c333049a3fcef7f89 Mon Sep 17 00:00:00 2001 >From: Alex Buckley <alexbuckley@catalyst.net.nz> >Date: Sat, 8 Apr 2017 23:18:23 +0000 >Subject: [PATCH] Bug 12930 - Implemented invalid_username_or_password template > variable being handed to Auth.tt. Removed indentation changes and > modification to return value of checkpw > >--- > C4/InstallAuth.pm | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/C4/InstallAuth.pm b/C4/InstallAuth.pm >index c91bde8..6851214 100644 >--- a/C4/InstallAuth.pm >+++ b/C4/InstallAuth.pm >@@ -379,6 +379,10 @@ sub checkauth { > $template->param( login => 1 ); > $template->param( loginprompt => 1 ) unless $info{'nopermission'}; > >+ if ($info{'invalid_username_or_password'} == 1) { >+ $template->param( 'invalid_username_or_password' => $info{'invalid_username_or_password'}); >+ } >+ > $template->param( \%info ); > $cookie = $query->cookie( > -name => 'CGISESSID', >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12930
:
61768
|
61777
|
61807
|
61808
|
62116
|
62117
|
62166