Skip to content

Commit db506b5

Browse files
authored
Update for new constants usage
1 parent d39a7a4 commit db506b5

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
@@ -305,7 +305,7 @@ function saml_acs() {
305305
wp_set_auth_cookie($user_id);
306306
}
307307

308-
setcookie('saml_login', 1, time() + YEAR_IN_SECONDS, SITECOOKIEPATH );
308+
setcookie(SAML_LOGIN_COOKIE, 1, time() + YEAR_IN_SECONDS, SITECOOKIEPATH );
309309
}
310310

311311
if (isset($_REQUEST['RelayState'])) {

0 commit comments

Comments
 (0)