| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 8 | class AnyPassDatabaseUserProvider extends DatabaseUserProvider |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Overrides the parent method to skip real password validation and assume the password is just correct. |
||
| 12 | * |
||
| 13 | * @param \Illuminate\Contracts\Auth\Authenticatable $user |
||
| 14 | * @param array $credentials |
||
| 15 | * @return bool |
||
| 16 | */ |
||
| 17 | public function validateCredentials(UserContract $user, array $credentials) |
||
| 28 |