Commit a9f8ad0d authored by Aaron Wells's avatar Aaron Wells
Browse files

Make the custom authloginmsg a little bit more noticeable

Bug 1248318
Changing it from an info message to an error message (since the documentation
already calls it the "Login error message". And putting it up above the login
form instead of below.

Change-Id: I2e4906ef6010c447e5f9a00fe06bd5249020f11a
parent 8425cfea
......@@ -1342,7 +1342,7 @@ class LiveUser extends User {
// external application.
if ($auth->authloginmsg != '') {
global $SESSION;
$SESSION->add_info_msg(clean_html($auth->authloginmsg), false, 'loginbox');
$SESSION->add_error_msg(clean_html($auth->authloginmsg), false, 'loginbox');
if (empty($user->logintries)) {
{include file="header.tpl"}
{dynamic}{insert_messages placement='loginbox'}{/dynamic}
<div id="loginform_container"><noscript><p>{str tag="javascriptnotenabled"}</p></noscript>
{dynamic}{insert_messages placement='loginbox'}{/dynamic}
{include file="footer.tpl"}
<div class="sidebar-header"><h3>{str tag="login"}{contextualhelp plugintype='core' pluginname='core' section='loginbox'}</h3></div>
<div class="sidebar-content">
<noscript><p>{str tag="javascriptnotenabled"}</p></noscript>
<div id="loginform_container">{$sbdata.loginform|safe}</div>
{dynamic}{insert_messages placement='loginbox'}{/dynamic}
<div id="loginform_container">{$sbdata.loginform|safe}</div>
Markdown is supported
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