mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #23404
[Bug 1409377] Re: Error message when trying to log in with non-existing username
This issue has been fixed by bug 1401324 so will mark this as done and
remove the security aspect
** Information type changed from Private Security to Public
** Changed in: mahara
Status: New => Won't Fix
** Changed in: mahara
Status: Won't Fix => Fix Committed
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1409377
Title:
Error message when trying to log in with non-existing username
Status in Mahara ePortfolio:
Fix Committed
Bug description:
On latest master Mahara version 15.04dev (2014121600)
When I try to log in with a username that is not in the database, I
get the following warning message besides the typical "User not
found".
[WAR] a3 (lib/dml.php:659) Argument 2 passed to get_records_sql_array() must be of the type array, null given, called in /home/kristina/code/mahara/htdocs/auth/lib.php on line 1493 and defined
Call stack (most recent first):
log_message("Argument 2 passed to get_records_sql_array() must ...", 8, true, true, "/home/kristina/code/mahara/htdocs/lib/dml.php", 659) at /home/kristina/code/mahara/htdocs/lib/errors.php:441
error(4096, "Argument 2 passed to get_records_sql_array() must ...", "/home/kristina/code/mahara/htdocs/lib/dml.php", 659, array(size 1)) at /home/kristina/code/mahara/htdocs/lib/dml.php:659
get_records_sql_array(" SELECT a.id, a.instancename, a.pr...", null) at /home/kristina/code/mahara/htdocs/auth/lib.php:1493
login_submit(object(Pieform), array(size 6)) at Unknown:0
call_user_func_array("login_submit", array(size 2)) at /home/kristina/code/mahara/htdocs/lib/pieforms/pieform.php:527
Pieform->__construct(array(size 9)) at /home/kristina/code/mahara/htdocs/auth/lib.php:526
auth_setup() at /home/kristina/code/mahara/htdocs/init.php:410
require("/home/kristina/code/mahara/htdocs/init.php") at /home/kristina/code/mahara/htdocs/index.php:16
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1409377/+subscriptions