bitfumes / laravel-multiauth

Multi Auth and admin auth in Laravel Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue in hiding section for differet role

anuragarena opened this issue · comments

@admin('distributor')
Only For Distributor
@endadmin

want to show a button for admin with role of distributor. But after writing the above code, button is still visible to admin of other role like super, admin, etc. Whereas

@admin('super')
Only For Super
@endadmin

works fine (visible to admin with role of super only).

Okay I will check this issue.
Thanks

solved in new version v3.0.0 :)

Please make sure you update with new version for use install command.

can you please send me a screenshot of error

Dear Sarthak,
first of all, thank you for your amazing package.
I have the same bug with the latest version of your package(bitfumes/laravel-multiauth": "^5.0), do you have any solution?