Elgg
Version 6.1
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Exceptions
Security
InvalidPasswordLengthException.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Exceptions\Security
;
4
5
use
Elgg\Exceptions\SecurityException
;
6
12
class
InvalidPasswordLengthException
extends
SecurityException
{
13
17
public
function
__construct
(
string
$message
=
''
,
int
$code
= 0, \Throwable $previous = null) {
18
if
(!
$message
) {
19
$message
=
elgg_echo
(
'Security:InvalidPasswordLengthException'
, [
elgg_get_config
(
'min_password_length'
)]);
20
}
21
22
parent::__construct(
$message
,
$code
, $previous);
23
}
24
}
elgg_get_config
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
Definition:
configuration.php:136
Elgg\Exceptions\Security\InvalidPasswordLengthException\__construct
__construct(string $message= '', int $code=0,\Throwable $previous=null)
{}
Definition:
InvalidPasswordLengthException.php:17
$message
$message
Definition:
set_maintenance_mode.php:7
elgg_echo
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition:
languages.php:17
$code
$code
Definition:
changepassword.php:12
Elgg\Exceptions\SecurityException
Throw when a Security Exception occurs.
Definition:
SecurityException.php:10
Elgg\Exceptions\Security
Definition:
InvalidPasswordCharacterRequirementsException.php:3
SecurityException
Elgg\Exceptions\Security\InvalidPasswordLengthException
Indicate a password string doesn't meet the minimal length requirements.
Definition:
InvalidPasswordLengthException.php:12
Generated on Wed Dec 4 2024 00:00:20 for Elgg by
1.8.11