An authentication driver for Laravel5 which allows to authenticate users using their legacy Django PBKDF2
jobinja/laravel-djangoable-auth is a Laravel package for an authentication driver for laravel5 which allows to authenticate users using their legacy django pbkdf2.
It currently has 9 GitHub stars and 3.245 downloads on Packagist (latest version v1.0).
Install it with composer require jobinja/laravel-djangoable-auth.
Discover more Laravel packages by jobinja
or browse all Laravel packages to compare alternatives.
Last updated
An authentication driver for Laravel5 which allows to authenticate users using their legacy Django PBKDF2 passwords.
Add the following service provider to the providers section of config/app.php :
Jobinja\Djangoable\DjangoableServiceProvider::class
Then change your auth driver to djangoable in config/auth.php.
If you prefer to use database driver instead of eloquent use djangoable_database instead of djangoable .
By default after the first login of the user using a password, user's password is rehashed based on your laravel hasher contract. If you don't wat
this you can disable it by setting rehash_django to false in config/auth.php :
// auth.php
//...
'rehash_django' => false,
//...
Default Laravel5 migration for users table uses VARCHAR(60) for password field you should increment it to 100 as Django password fields take more space.
Clone the project then run vendor/bin/phpunit.