diff --git a/application/models/Auth/AuthProvider.php b/application/models/Auth/AuthProvider.php index 4527cd74..f7bc1248 100644 --- a/application/models/Auth/AuthProvider.php +++ b/application/models/Auth/AuthProvider.php @@ -165,7 +165,7 @@ public function authProcess() * @var Auth\Table $authTable */ $authTable = Auth\Table::getInstance(); - $auth = $authTable->getAuthRow(strtolower($this->providerName),$profile->identifier); + $auth = $authTable->getAuthRow(strtolower($this->providerName), $profile->identifier); if ($this->identity) { @@ -181,7 +181,6 @@ public function authProcess() if ($auth) { $this->alreadyRegisteredLogic($auth); } else { - Messages::addError(sprintf('First you need to be linked to %s', $this->providerName)); $this->response->redirectTo('users', 'signin'); }