Sunday, April 1, 2018

Authentication in Laravel Modification needed - development

Authentication in Laravel Modification needed

I have a bit more of a general question on how to handle Authentication Modifications in laravel properly.

The default User Class might not be sufficient for me, to fulfil the requirements I have. Therefore I would need additional fields in the User Table. Of course I can adapt the class. But what happens when:

1) Laravel will get updated to a new version. Then I assume all the changes will be overwritten?

2) When I use Authentication and register a person, the Authentication Controller adds the user to the users table. But should I actually change code in the Authentication Controller? Isn’t that messing with code, I should not touch directly?

What is the better way of doing it?



from Laravel Questions and Answers https://laravelquestions.com/php/authentication-in-laravel-modification-needed/
via Lzo Media

No comments:

Post a Comment