Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slow-is-fast/171a2e085259e5b87c26b70dd2308c01 to your computer and use it in GitHub Desktop.
Save slow-is-fast/171a2e085259e5b87c26b70dd2308c01 to your computer and use it in GitHub Desktop.
laravel login with username instead of email
在auth\AuthController.php里新增一个属性
protected $username = 'username';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment