Skip to content

Commit

Permalink
Update to reflect WordPress#546
Browse files Browse the repository at this point in the history
  • Loading branch information
dd32 authored Apr 13, 2023
1 parent a799823 commit b8d7b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class-two-factor-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ public static function _login_form_validate_2fa() {
$session_information_callback = function( $session, $user_id ) use( $provider, $user ) {
if ( $user->ID === $user_id ) {
$session['two-factor-login'] = time();
$session['two-factor-provider'] = get_class( $provider );
$session['two-factor-provider'] = $provider->get_key();
}

return $session;
Expand Down

0 comments on commit b8d7b96

Please sign in to comment.