mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Removing loginError, its not used anymore.
This commit is contained in:
parent
59dac2255e
commit
a5d9a64e1a
1 changed files with 0 additions and 10 deletions
|
@ -202,15 +202,6 @@ class AuthComponent extends Component {
|
|||
*/
|
||||
public $logoutRedirect = null;
|
||||
|
||||
/**
|
||||
* Error to display when user login fails. For security purposes, only one error is used for all
|
||||
* login failures, so as not to expose information on why the login failed.
|
||||
*
|
||||
* @var string
|
||||
* @link http://book.cakephp.org/view/1272/loginError
|
||||
*/
|
||||
public $loginError = null;
|
||||
|
||||
/**
|
||||
* Error to display when user attempts to access an object or action to which they do not have
|
||||
* acccess.
|
||||
|
@ -358,7 +349,6 @@ class AuthComponent extends Component {
|
|||
function __setDefaults() {
|
||||
$defaults = array(
|
||||
'logoutRedirect' => $this->loginAction,
|
||||
'loginError' => __('Login failed. Invalid username or password.'),
|
||||
'authError' => __('You are not authorized to access that location.')
|
||||
);
|
||||
foreach ($defaults as $key => $value) {
|
||||
|
|
Loading…
Reference in a new issue