Powerful and easy to use cms to build websites, blogs or ecommerce stores.
HTML backendblogblog-engineblog-platformbloggingcmscontent-managementcontent-management-systemecommerceecommerce-platformno-codepage-builderphpphp-cmsphp7php8self-hostedshopping-cartweb-applicationwebsite-builder
Fixed redirect url
givanz11214fdb8ebc
diff --git a/app/controller/user/login-trait.php b/app/controller/user/login-trait.phpindex bd94c14..0d47d77 100755--- a/app/controller/user/login-trait.php+++ b/app/controller/user/login-trait.php@@ -72,7 +72,7 @@ trait LoginTrait {$this->session->close();$this->view->success['login'] = $success;$this->view->global['user_id'] = $user['user_id'];- $this->redirect($this->redirectUrl ?? '/user');+ $this->redirect($this->redirectUrl ?? 'user/index');} else {//user not found or wrong password$this->view->errors['login'] = __('Authentication failed, wrong email or password!');