jquery - Laravel 5.1 ajax based login/registration using Auth controller? -
i learning laravel framework. have question while learning authenticatation.
i have tried login , registrartion refering laravel authentication.
now want make login , registartion using ajax.
question need write new controller , method login , registration because need return data in json format display validation message or redirect after login.
or
there way can use same authentication controller , method work ajax.
please suggest appropriate solution ?
Comments
Post a Comment