-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
attachRole does not working #22
Comments
Can you share your error or what you getting wrong? |
I have same issue and this is the error message this is my full code |
Can you please try with attach ntrust file? |
it still didn't work |
It would be great if you can share your code with me then I can do more trobalshoot. |
sorry. now i know it's my fault when i install it. thanks for your help |
I have existing role, and I'm trying to save that role to user
$user = User::find(1);//working
$role = Role::where('id', '=', 1)->first();//working
$user->attachRole($role);
The text was updated successfully, but these errors were encountered: