This repository has been archived by the owner. It is now read-only.

Fixed a typo in JApplication::login #353

Merged
merged 1 commit into from Sep 11, 2011
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -681,7 +681,7 @@ public function login($credentials, $options = array())
// validate that the user should be able to login (different to being authenticated)
// this permits authentication plugins blocking the user
$authorisations = $authenticate->authorise($response, $options);
- foreach ($authorisation as $authorisation)
+ foreach ($authorisations as $authorisation)
{
$denied_states = Array(JAuthentication::STATUS_EXPIRED, JAuthentication::STATUS_DENIED);
if (in_array($authorisation->status, $denied_states))