Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
khamedx opened this issue Jul 24, 2015 · 0 comments
Open

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

khamedx opened this issue Jul 24, 2015 · 0 comments

Comments

@khamedx
Copy link

khamedx commented Jul 24, 2015

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+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant