Skip to content

Commit

Permalink
psr2
Browse files Browse the repository at this point in the history
  • Loading branch information
yuklia committed May 8, 2015
1 parent e0ad5ce commit 98fec4c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions application/models/Auth/AuthProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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');
}
Expand Down

0 comments on commit 98fec4c

Please sign in to comment.