Skip to content
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

Migration to klaravel/ntrust from Zizaco/entrust #21

Closed
physio opened this issue Dec 27, 2016 · 1 comment
Closed

Migration to klaravel/ntrust from Zizaco/entrust #21

physio opened this issue Dec 27, 2016 · 1 comment

Comments

@physio
Copy link

physio commented Dec 27, 2016

is it possibile migrate an existing project from Zizaco/entrust to klaravel/ntrust?

@ajmerainfo
Copy link
Collaborator

@physio Yes you can.

You have to change manually [config/ntrust.php](https://github.com/klaravel/ntrust/blob/master/src/config/ntrust.php) file.

And need to add migration if it's for admin user or multiple user.

One more thing need to add below code for your user/admin and role & permission class.

/*
 * Role profile to get value from ntrust config file.
 */
protected static $roleProfile = 'user';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants