* Adjust server bind user data for gitea and gogs.
This commit is contained in:
@@ -75,7 +75,7 @@ class gogsModel extends model
|
||||
$user->providerID = $gogsID;
|
||||
$user->providerType = 'gogs';
|
||||
$user->account = $account;
|
||||
$user->openID = $gogsNames[$openID];
|
||||
$user->openID = $openID;
|
||||
$this->dao->insert(TABLE_OAUTH)->data($user)->exec();
|
||||
$this->action->create('gogsuser', $gogsID, 'bind', '', $gogsNames[$openID]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user