mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 18:31:05 +00:00
fix(install): redirect to host_url install route on instanceConfig validation error
This commit is contained in:
parent
414b23a3b7
commit
99250b1868
@ -156,7 +156,10 @@ class Install extends Controller
|
|||||||
|
|
||||||
if (!$this->validate($rules)) {
|
if (!$this->validate($rules)) {
|
||||||
return redirect()
|
return redirect()
|
||||||
->back()
|
->to(
|
||||||
|
(empty(host_url()) ? config('App')->baseURL : host_url()) .
|
||||||
|
config('App')->installGateway
|
||||||
|
)
|
||||||
->withInput()
|
->withInput()
|
||||||
->with('errors', $this->validator->getErrors());
|
->with('errors', $this->validator->getErrors());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user