I have created vue components for login and registration. How do I send password to the server?? Should I just encrypt the password using bcrypt
on the client side and then send it to Laravel or should I just send the plain password to Laravel and use bcrypt($request->get('password'));
What would be a good option?
If I should encrypt the password in the vue component, what package/function should I use so that it will encrypt the password in the same way as Laravel/PHP does??