Skip to content
Snippets Groups Projects
Commit 99250b18 authored by Yassine Doghri's avatar Yassine Doghri
Browse files

fix(install): redirect to host_url install route on instanceConfig validation error

parent 414b23a3
No related branches found
No related tags found
1 merge request!85fix(install): redirect to host_url install route on instanceConfig validation error
Pipeline #356 passed
......@@ -156,7 +156,10 @@ class Install extends Controller
if (!$this->validate($rules)) {
return redirect()
->back()
->to(
(empty(host_url()) ? config('App')->baseURL : host_url()) .
config('App')->installGateway
)
->withInput()
->with('errors', $this->validator->getErrors());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment