Login - Changing Order of Tabs for Dual Login
Last Post 06/30/2014 8:31 AM by Joseph Craig. 3 Replies.
Author Messages
Steve
Nuker
Nuker
Posts:18


--
06/23/2014 5:32 AM  
I have created dual DNN login options using DNN Standard Login and Active Directory Login. However, the Standard Login tab is displayed first and I would like to swap the order around so that my AD login (Stellenbosch University Login) is displayed by default. Could you please advise me on which file to edit? Thanks. The website: http://fmhspod.sun.ac.za.
Joseph Craig
DNN MVP
Posts:11667


--
06/23/2014 5:43 PM  
You would have to dig into the login module code to do that. Not entirely recommended ...

Check Glanton's AD module. I believe that it will check against the DNN membership if the AD authentication fails (thought that might be just of admin users). IF it works, you can switch off the DNN modules.

Joe Craig, Patapsco Research Group
Complete DNN Support
Steve
Nuker
Nuker
Posts:18


--
06/30/2014 8:10 AM  
Hi Joe,
I need to retain both login options - AD for the university users and DNN for users outside the institution. So unfortunately I do need to modify the login module code. I am just not sure which aspx, ascx, resx or cs file has the code that requires modifying. Do you know which one it is as there are all the above options in both the DNN and ActiveDirectory folders? Thanks.
Joseph Craig
DNN MVP
Posts:11667


--
06/30/2014 8:31 AM  
You'll need to do this in the core Registration logic. This is the code that loads the authentication providers.

Try Desktop Modules/Admin/Authentication and look at Authentication.ascx and Authentication.ascx.cs.

Joe Craig, Patapsco Research Group
Complete DNN Support


---