File tree Expand file tree Collapse file tree
phpBB/phpbb/auth/provider/oauth Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -227,6 +227,22 @@ public function login($username, $password)
227227 $ row = $ this ->db ->sql_fetchrow ($ result );
228228 $ this ->db ->sql_freeresult ($ result );
229229
230+ /**
231+ * Event is triggered before check if provider is already associated with an account
232+ *
233+ * @event core.oauth_login_after_check_if_provider_id_has_match
234+ * @var array row User row
235+ * @var array data Provider data
236+ * @var \OAuth\Common\Service\ServiceInterface service OAuth service
237+ * @since 3.2.3-RC1
238+ */
239+ $ vars = array (
240+ 'row ' ,
241+ 'data ' ,
242+ 'service ' ,
243+ );
244+ extract ($ this ->dispatcher ->trigger_event ('core.oauth_login_after_check_if_provider_id_has_match ' , compact ($ vars )));
245+
230246 if (!$ row )
231247 {
232248 // The user does not yet exist, ask to link or create profile
You can’t perform that action at this time.
0 commit comments