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
Pipeline #356 passed with stage
in 4 minutes and 43 seconds
......@@ -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());
}
......
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