bmbrands / moodle-theme_elegance

This is the new official elegance repository
http://basbrands.nl
23 stars 12 forks source link

login errors message don't show up in custom login page. #104

Open khamedx opened 9 years ago

khamedx commented 9 years ago

Hey guys,

When an user try to log in with faulty login info's. the error message is not shown in the custom login place.

after checking the html code of the page, the error message is shown in the hidden part of them main_content() echo "

".$OUTPUT->main_content()."
";

I did try to fix that by using the variable $frm

/// auth plugins may override these - SSO anyone? $frm = false; $user = false;

Unfortunately that variable is not set by auth plugins! How to set that variable? or how to get the response of the auth plugins ?

I'm trying now to override the renderer of the login page, do you know witch renderer i need to override?

Anyway thanks guy for the great work!

using moodle 2.8.3+