2017 © Pedro Peláez
 

library laravel-djangoable-auth

An authentication driver for Laravel5 which allows to authenticate users using their legacy Django PBKDF2

image

jobinja/laravel-djangoable-auth

An authentication driver for Laravel5 which allows to authenticate users using their legacy Django PBKDF2

  • Wednesday, November 25, 2015
  • by jobinja
  • Repository
  • 2 Watchers
  • 6 Stars
  • 1,530 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

Laravel Django Authentication

An authentication driver for Laravel5 which allows to authenticate users using their legacy Django PBKDF2 passwords., (*1)

Usage

Add the following service provider to the providers section of config/app.php :, (*2)

Jobinja\Djangoable\DjangoableServiceProvider::class

Then change your auth driver to djangoable in config/auth.php., (*3)

If you prefer to use database driver instead of eloquent use djangoable_database instead of djangoable ., (*4)

Refreshing passwords on first login

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 :, (*5)

// auth.php
//...
'rehash_django' => false,
//...

Password field size

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., (*6)

Tests for hasher contract

Clone the project then run vendor/bin/phpunit., (*7)

The Versions

25/11 2015

dev-master

9999999-dev

An authentication driver for Laravel5 which allows to authenticate users using their legacy Django PBKDF2

  Sources   Download

GPLv3.0

The Requires

 

The Development Requires

by Reza Shadman

25/11 2015

v1.0

1.0.0.0

An authentication driver for Laravel5 which allows to authenticate users using their legacy Django PBKDF2

  Sources   Download

GPLv3.0

The Requires

 

The Development Requires

by Reza Shadman