peraleks / Laravel-redirect-back-to-original-destination-after-login

laravel5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel-redirect-back-to-original-destination-after-login

Return to the previous page after login in Laravel 5.2

If you have not made any changes to the file app\Http\Controllers\Auth\AurhController.php, you can just replace it with the file from the repository.

Otherwise, copy the line 76-135.

And don't forget about the facade: use Session; (line 8).

About

laravel5


Languages

Language:PHP 100.0%