This repository was archived by the owner on Apr 19, 2025. It is now read-only.
Version 2.6.1 of laravel-two-factor-authentication
Fixed
Use the user model defined in the config file in the package. Until now this wasn't actually enforced and using a custom user model in the config (i.e. anything else than \App\User
) would result in type errors and incorrect db querying behaviour. Unfortunately this means we lose type hinting for function arguments for users...