We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you add a entries field-type to users they can't login.
Add relation field of entries to a user and try to login.
The following pull-request seems to be the problem: #2657
Call to undefined method Statamic\Auth\File\User::locale() (View: vendor/statamic/cms/resources/views/partials/scripts.blade.php)
vendor/statamic/cms/src/Fieldtypes/Entries.php:198
protected function augmentValue($value) { if (is_string($value)) { $value = Entry::find($value); if ($value != null && $entry = $this->field()->parent()) { $value = $value->in($entry->locale()); } } return $value; }
**Statamic version:3.0.20 Pro
**PHP version:7.4.10
Install method (choose one):
statamic/statamic
The text was updated successfully, but these errors were encountered:
Thanks!
Sorry, something went wrong.
I can confirm this issue, here's a full Flare stack trace.
8ede371
No branches or pull requests
Bug Description
If you add a entries field-type to users they can't login.
How to Reproduce
Add relation field of entries to a user and try to login.
Extra Detail
The following pull-request seems to be the problem: #2657
Error
Call to undefined method Statamic\Auth\File\User::locale() (View: vendor/statamic/cms/resources/views/partials/scripts.blade.php)
vendor/statamic/cms/src/Fieldtypes/Entries.php:198
Environment
**Statamic version:3.0.20 Pro
**PHP version:7.4.10
Install method (choose one):
statamic/statamic
The text was updated successfully, but these errors were encountered: