Skip to content

Commit 1460e61

Browse files
authored
Update PhutilMediaWikiAuthAdapter.php
1 parent ec38df6 commit 1460e61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oauth/PhutilMediaWikiAuthAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function getAdapterType() {
4949

5050
public function getAccountID() {
5151
// $this->getHandshakeData();
52-
return idx($this->loadOAuthAccountData(), 'userid');
52+
return idx($this->loadOAuthAccountData(), 'sub');
5353
}
5454

5555
public function getAccountEmail() {

0 commit comments

Comments
 (0)