Skip to content

Commit 9f8cc20

Browse files
committed
strip auth data when setting username
1 parent 4884f8c commit 9f8cc20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Parse/ParseUser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ public function getUsername()
5151
*/
5252
public function setUsername($username)
5353
{
54+
$this->set('authData.anonymous', null);
5455
return $this->set('username', $username);
5556
}
5657

0 commit comments

Comments
 (0)