Php

how would I attach attribute roles to user once he logs in?

how would I attach attribute roles to user once he logs in? I want to do something if loggin successful -> user->setRole($user->roles)

I just can't seem to find that in a LoginController
You already invited:

Evren

Upvotes from:

over-ride the `authenticated` method. Personally I copy everything from `Illuminate\Foundation\Auth` into an `App\Auth` folder. The Foundation classes are great, but any significant app needs more customization

If you wanna answer this question please Login or Register