Good Afternoon all.
I am looking for some assistance in customizing the login page.
We are using OpenID Connect and I would just like to hide the local login option.
I'm not well versed in CSS and any older materials I tried in Custom CSS for hiding Username/Password/etc did not work for me. I am not looking to do a full custom login page, I would just like to hide the non OpenID elements.
We are using Moodle 3.9.1 with Adaptable 2.2.2
Any help would be greatly appreciated.
Mike
You can hide it with css - but if you do, you will not be able to log in manually if your OpenID Connect fails for any reason.
If you know what you’re doing, you can override a css rule locally - eg. “display: none;” - using your browser’s inspect tool.
On the basis of the above warning, try adding this to your custom css:
#page-login-index form#login,
#page-login-index h6,
#page-login-index .forgetpass {
display: none;
}
If you know what you’re doing, you can override a css rule locally - eg. “display: none;” - using your browser’s inspect tool.
On the basis of the above warning, try adding this to your custom css:
#page-login-index form#login,
#page-login-index h6,
#page-login-index .forgetpass {
display: none;
}
Thanks Jon. That was my concern as well.
Luckily after doing a bit more reading and scouring options I realized we could switch to using the "Resource Owner Password Credentials Grant" for our authentication method as we aren't leveraging any other O365 applications/session, strictly Moodle-only.