-
Notifications
You must be signed in to change notification settings - Fork 0
Laravel 11 support #16
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
Conversation
Use cast method instead of property The generated Identity model used to have the casts property. This should be changed to use the cast method /**
* Get the attributes that should be cast.
*
* @return array<string, string>
*/
protected function casts(): array
{
return [
'expires_at' => 'datetime',
'registration' => 'bool',
];
} |
Default user model and identity model namespace (breaking change)
Within the AppServiceProvider boot method call \Oneofftech\Identities\Facades\Identity::useIdentityModel(Identity::class);
\Oneofftech\Identities\Facades\Identity::useUserModel(User::class); If you previously set models namespace manually to use the models folder you can now remove the configuration. |
Default redirect URL The default redirect after login/registration is now to |
No description provided.