Skip to content

Commit c336e53

Browse files
authored
Fix where to redirect
1 parent 7138a89 commit c336e53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

onelogin-saml-sso/php/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function redirect_to_relaystate_if_trusted($url) {
5454
if ($trusted) {
5555
wp_redirect($url);
5656
} else {
57-
wp_redirect($url);
57+
wp_redirect(home_url());
5858
}
5959
exit();
6060
}

0 commit comments

Comments
 (0)