Skip to content

Commit

Permalink
Fixed issue #07182: Login form displayed despite auth_webserver deleg…
Browse files Browse the repository at this point in the history
…ated authentication being used
  • Loading branch information
SamMousa committed Jan 13, 2013
1 parent 65ec1d5 commit 50bba02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/authentication.php
Expand Up @@ -37,7 +37,7 @@ public function index()

if ($bCanLogin && !is_array($bCanLogin))
{
if (Yii::app()->request->getPost('action') || !is_null(Yii::app()->request->getQuery('onepass')))
if (Yii::app()->request->getPost('action') || !is_null(Yii::app()->request->getQuery('onepass')) || Yii::app()->getConfig('auth_webserver') === true)
{

$aData = $this->_doLogin(Yii::app()->request->getParam('user'), Yii::app()->request->getPost('password'),Yii::app()->request->getQuery('onepass',''));
Expand Down

0 comments on commit 50bba02

Please sign in to comment.