Topic on Project:Support desk

Removing "Domain" from login page

8
PSIDWiki (talkcontribs)

Hello,

I'm trying to remove the domain drop down from my login page. I'm using AD and there is only one domain and I don't want to show it.

I don't want to hide it since the source will show the domain.

Is there a way to not generate the control?

TheDJ (talkcontribs)

You will have to adapt the source code I think.

141.211.32.5 (talkcontribs)

Thanks TheDJ for your reply. Can I remove the code to create the control or is it referenced some place else which will cause an error if I remove it?

PSIDWiki (talkcontribs)

What would be the best way to create my own login page? I'm trying to find an alternative way to do this.

TheDJ (talkcontribs)

that is something you definitely should NOT do. The login page is very critical point in the security architecture, and trying to do your own thing is likely to get you burned.

Manual:SessionManager and AuthManager contains information for building extensions regarding session and authentication methods.

2003:CC:ABC4:3E00:7829:7CC:415:5C04 (talkcontribs)

Maybe it is obvious, but...: Where does the domain drop-down come from? I am not using Active Directory, but such a drop-down is not there by default, right?

TheDJ (talkcontribs)

You can find the extensions you have enabled in in Special:Version. Since i don't know what authentication methods you have enabled through which extensions, i can't say where a dropdown comes from.

PSIDWiki (talkcontribs)

DJ,

Would it be better to just hide the domain control? I just don't want to have any security issues with someone using the domain value and names to try and hack into our system.

Sorry I didn't mention this originally but I'm using MediaWiki version 1.26.3.

Thank you

Reply to "Removing "Domain" from login page"