Skip to content

Commit b805b90

Browse files
committed
auth check
1 parent e195939 commit b805b90

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎ProcessMaker/Http/Controllers/HomeController.php‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ class HomeController extends Controller
1010
{
1111
public function index(Request $request)
1212
{
13-
return redirect('/requests');
13+
if (Auth::check()) {
14+
return redirect('/requests');
15+
}
1416
}
1517
}

0 commit comments

Comments
 (0)