Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
電子メールではなくユーザー名で認証するようにセントリーを構成するにはどうすればよいですか。私が見つけたすべての例は、すべて電子メールで認証されます。どんな助けでも大歓迎です。
最初に Sentry 構成を公開します。
php artisan config:publish cartalyst/sentry
次に、ファイルapp\config\packages\cartalyst\sentry\config.phpを開いて編集します。
app\config\packages\cartalyst\sentry\config.php
'login_attribute' => 'email',