#How to change logout route
10 messages · Page 1 of 1 (latest)
i think add
return redirect()->route('login');
in controller where u put function logout
i cannot find where they put route('logout')definition
The destroy function for logout is inside the AUthenticatedSessionController in vendor folder
put in the destroy function
can you elaborate more?
do you know the command to pubish the controller?
why dont u put your function destroy here
do you know how to publish the file?
in config.fortify.php add