Skip to content

Commit

Permalink
Update deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
herbdool committed Oct 3, 2024
1 parent e23c095 commit 2ac1256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tfa.module
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ function tfa_login_submit($form, &$form_state) {
}
else {
// Regenerate the session ID to prevent against session fixation attacks.
drupal_session_regenerate();
backdrop_session_regenerate();

// Restart flood levels, session context, and TFA process.
$identifier = config_get('user.flood', 'flood_uid_only') ? $account->uid : $account->uid . '-' . ip_address();
Expand Down

0 comments on commit 2ac1256

Please sign in to comment.