Problem with redirect from wp-login.php after successful login
-
Hi,
I think there is a bug in the latest plugin version (v2.2.3).
The user enters the login form (wp-login.php).
After successful login (user data from Active Directory), the login form (wp-login.php) is left – there is no redirection to the home page or another page.
I found a function responsible for this – “loginUser ()” – “wp-content / plugins / next-active-directory-integration / classes / Adi / Authentication / SingleSignOn / Service.php”I did a quick fix on the last $redirectTo variable
if ($ redirectTo === '/wp-login.php') { $ redirectTo = home_url ('/'); }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Problem with redirect from wp-login.php after successful login’ is closed to new replies.