You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//Check if user has not signed in before (i.e. existing user, no provider name, no login timestamp)
@@ -302,10 +302,10 @@ public function handle(ServerRequestInterface $request): ResponseInterface
302
302
self::deleteSessionValuesForProviderConnection();
303
303
}
304
304
305
-
//If user does not exist already, register based on the authorization provider user data
305
+
//If user does not exist already and user is not connected already, register based on the authorization provider user data
306
306
if ($existing_user === null && !$provider_id_is_connected) {
307
307
308
-
//If user did not request to register (i.e. sign in and no account was found)
308
+
//If user did not request to register (i.e. signed in and no account was found)
309
309
if ($connect_action !== OAuth2Client::CONNECT_ACTION_REGISTER) {
310
310
FlashMessages::addMessage(I18N::translate('Currently, no webtrees user account is related to the user data received from the authorization provider.'));
0 commit comments