Checklist
Description
When updating fields on a user, I forget the cache key for the user cached for 30 seconds in the user repository. However, the user is still cached for 5 seconds due to the caching in Auth0\Laravel\UserProviderAbstract::retrieveByCredentials(). I don't understand why this was added or if there is a way to override it without just using a custom provider. I feel like this defeats the purpose of caching the user in the repository, shouldn't this just be limited to credentials and not other user data?
Checklist
Description
When updating fields on a user, I forget the cache key for the user cached for 30 seconds in the user repository. However, the user is still cached for 5 seconds due to the caching in Auth0\Laravel\UserProviderAbstract::retrieveByCredentials(). I don't understand why this was added or if there is a way to override it without just using a custom provider. I feel like this defeats the purpose of caching the user in the repository, shouldn't this just be limited to credentials and not other user data?