Commit ee7a3d3d authored by Elliot Pahl's avatar Elliot Pahl Committed by Elliot Pahl
Browse files

Clean text received from the authloginmsg field.

parent 9b9cfff5
......@@ -638,7 +638,7 @@ class LiveUser extends User {
// external application.
if ($auth->authloginmsg != '') {
global $SESSION;
$SESSION->add_error_msg($auth->authloginmsg);
$SESSION->add_info_msg(clean_text($auth->authloginmsg), false);
}
return false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment