0

Any idea's why i get the following error

The [login] attribute is required - what does it mean?

when trying to login with Sentry 2 & Laravel.?

4

1 回答 1

0

如果您需要在用户表中使用不同于loginas 属性的任何内容,例如电子邮件,请首先发布 Sentry 配置:

php artisan config:publish cartalyst/sentry

然后打开文件app\config\packages\cartalyst\sentry\config.php并编辑:

'login_attribute' => 'email',
于 2013-11-26T18:53:37.857 回答