From 5f8f6520eec0cbedd394c6b149df0cbb0debed8f Mon Sep 17 00:00:00 2001 From: osaajani <> Date: Thu, 16 Apr 2020 03:57:32 +0200 Subject: [PATCH] Improve alert popup + fix api key on usrr generation --- assets/css/style.css | 8 ++++---- controllers/publics/User.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index 95fe136..b66a521 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -52,17 +52,17 @@ .popup-alerts-container { position: fixed; - left: 0; + left: 25%; top: 0; z-index: 9998; - width: 100%; + width: 50%; } .popup-alert { margin-top: 25px; - margin-left: 25%; - width: 50%; + margin-left: 0; + width: 100%; position: relative; } diff --git a/controllers/publics/User.php b/controllers/publics/User.php index 45bd329..c2d4faf 100644 --- a/controllers/publics/User.php +++ b/controllers/publics/User.php @@ -163,7 +163,7 @@ class User extends \descartes\Controller return $this->redirect(\descartes\Router::url('User', 'add')); } - $id_user = $this->internal_user->create($email, $password, $admin, $status); + $id_user = $this->internal_user->create($email, $password, $admin); if (!$id_user) { \FlashMessage\FlashMessage::push('danger', 'Impossible de créer ce user.');