0

How do I configure sentry to authenticate by username rather than by email. All the examples I am finding all authenticate by email. Any help much appreciated.

Antonio Carlos Ribeiro
  • 86,191
  • 22
  • 213
  • 204
DamongoCoder
  • 431
  • 5
  • 7

1 Answers1

1

First publish the Sentry config:

php artisan config:publish cartalyst/sentry

Then open file app\config\packages\cartalyst\sentry\config.php and edit:

'login_attribute' => 'email',
Antonio Carlos Ribeiro
  • 86,191
  • 22
  • 213
  • 204