Unverified Commit 0890a4c3 authored by Jerome Boucher's avatar Jerome Boucher
Browse files

fix/18354 : fix unknownuser exception

parent 4cf44a33
Pipeline #13661 failed with stages
in 1 minute and 13 seconds
......@@ -20,7 +20,7 @@
namespace bundle\auth\Exception;
class unknownUserException
extends \Exception
extends \core\Exception
{
public $message = false;
......@@ -28,11 +28,14 @@ class unknownUserException
* undocumented function
*
* @return void
* @author
* @author
*/
public function __construct()
public function __construct($message = false)
{
$this->message = "User unknown";
if (!$message) {
$message = "User unknown";
}
parent::__construct($message);
}
}
......@@ -496,3 +496,6 @@ msgstr "Mauvais nombre de colonnes dans le csv à la ligne %s"
msgid "User has an unknown security level"
msgstr "L'utilisateur a un niveau de sécurité non renseigné dans la configuration. Veuillez contacter votre administrateur système"
msgid "User unknown"
msgstr "Utilisateur inconnu du système"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment