Skip to content

Commit

Permalink
Bug #13627 Add crypt mode to File container
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.php.net/repository/pear/packages/Auth/trunk@322665 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
CloCkWeRX committed Jan 24, 2012
1 parent 483e8f6 commit 2661d72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Auth/Container/File.php
Expand Up @@ -108,7 +108,7 @@ function Auth_Container_File($filename) {
function fetchData($user, $pass)
{
$this->log('Auth_Container_File::fetchData() called.', AUTH_LOG_DEBUG);
return File_Passwd::staticAuth($this->options['type'], $this->pwfile, $user, $pass);
return File_Passwd::staticAuth($this->options['type'], $this->pwfile, $user, $pass, $this->options['mode']);
}

// }}}
Expand Down Expand Up @@ -289,6 +289,7 @@ function &_load()
function _setDefaults()
{
$this->options['type'] = 'Cvs';
$this->options['mode'] = '';
}

// }}}
Expand Down

0 comments on commit 2661d72

Please sign in to comment.