@@ -111,6 +111,7 @@ class UserController extends BackendController | |||
$model->setPassword($password); | |||
$model->generateAuthKey(); | |||
$model->username = $model->email ; | |||
$model->confiance = 1 ; | |||
if(!strlen($model->email)) | |||
$model->username = 'inconnu@laboiteapain.net' ; | |||