Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Include 2 ini
- use Illuminate\Support\Facades\Auth;
- use Illuminate\Support\Facades\Redirect;
- //di setiap fungsi di controller tambah ini
- if (!Auth::check())
- {
- return redirect()->route('login');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement