定制 jobinja/laravel-djangoable-auth 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jobinja/laravel-djangoable-auth

Composer 安装命令:

composer require jobinja/laravel-djangoable-auth

包简介

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

README 文档

README

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

Usage

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 .

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 :

// 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.

Tests for hasher contract

Clone the project then run vendor/bin/phpunit.

统计信息

  • 总下载量: 3.25k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: GPLv3.0
  • 更新时间: 2015-11-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固