Skip to content

Commit

Permalink
Style tweak, no functional change.
Browse files Browse the repository at this point in the history
  • Loading branch information
snelg committed Apr 1, 2016
1 parent 3a5643e commit bd90ac4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/Auth/CasAuthenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,11 @@ public function logout()
// header, which is a problem because CakePHP still thinks the
// user is logged in. See Step 2.
phpCAS::logout(['url' => Router::url('/', true)]);
} else {
//Step 2. This will run when the CAS server has redirected the client
// back to us. Do nothing in this block, then after this method
// returns CakePHP will do whatever is necessary to log the user
// out from its end (destroying the session or whatever).
}
//Step 2. We reach this line when the CAS server has redirected the
// client back to us. Do nothing in this block; then after this
// method returns, CakePHP will do whatever is necessary to log
// the user out from its end (destroying the session or whatever).
}

/**
Expand Down

0 comments on commit bd90ac4

Please sign in to comment.