문제

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.

도움이 되었습니까?

해결책

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',
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top