Skip to content

Commit

Permalink
SSO: fix multiple meta values being created for firebase_identities a…
Browse files Browse the repository at this point in the history
…nd uid (#1986)
  • Loading branch information
squigglybob committed Mar 16, 2023
1 parent 28696c8 commit 5a40fb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dt-login/login-user-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ private function update_user() {
}

private function update_user_meta( int $user_id ) {
add_user_meta( $user_id, 'firebase_uid', $this->uid );
add_user_meta( $user_id, 'firebase_identities', $this->identities );
update_user_meta( $user_id, 'firebase_uid', $this->uid );
update_user_meta( $user_id, 'firebase_identities', $this->identities );
}

/**
Expand Down

0 comments on commit 5a40fb6

Please sign in to comment.