I have SAML login enabled with the button "Log in with Google." I want to remove the normal username/password fields with their blue log in button, but haven't been able to figure out. Can this be done?
Topic on Project:Support desk
Go to defaultsettings.php file and set false for non for non login users. Login button disabled.
The previous comment does neither seem clear nor helpful. Note that defaultsettings.php should not be edited - I don't even know, if a file with that name exists. Local configuration however always belongs into the file LocalSettings.php.
How did you nable SAML login? If that is happening with an extension: Doesn't that extension have a way to remove the superfluous things? If not, you could hide them with CSS...
Thank you! I was using the Google Login extension, but I didn't see a way in this module to disable manual logins. I was able to use the CSS by hiding a few fields, wpLoginAttempt etc. Now it only enables Google Login.
Thank you, but I can't find a defaultsettings.php in /includes. I found a copy of it online but it said never to edit, I guess I could copy whatever part I need into localsettings.php. But I can't find the exact field you were referring to, do you know what it's called?