[Plugin: Active Directory Integration] Custom Login Based on AD User Data
I’m using your plugin to authenticate users against a client provided AD (Awesome plugin btw!), but not all users will have email addresses. What I’m needing to do is redirect users to fill-out their email in their profile if the mail field is empty coming from AD. I’m wanting to do a check once they’re authenticated with AD to see if the mail field is blank, send them to a custom page that asks for their email and then direct them to the site. So this would be a one time prompt the first time they log in.
If there a hook I can use in my functions.php to do this? Can I get the data after authentication, check for a blank mail field, send them to a custom page or send them to the home page? Please help.
Thanks in advance.
- The topic ‘[Plugin: Active Directory Integration] Custom Login Based on AD User Data’ is closed to new replies.