You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the application is run in the local environment, usually only for local development, a series a login links are provided on the login page to simplify testing different user accounts. However, these logins don't respect the user's language preference and will load the site in whatever language the site was in at the time of login.
To Reproduce
Steps to reproduce the behavior:
Start the site locally with the APP_ENV set to local
Open the site and click "Sign in"
On the Sign in page scroll down and click "Sign in as individual user"
Go to My Settings > Language Preferences
Change the Website language and click "Save"
Logout
The site should be in English again after logout
Go back to "Sign in" and again click "Sign in as individual user"
Notice the site is still in English and not the user's chosen language
Go back to the My Settings > Language Preferences page.
Notice the site is returned to the user's preferred language and the setting is correct
Logout
Go back to "Sign in" and instead of manually enter the user's credentials. ( account is for [email protected]).
Notice that this time the site language matches the user's chosen language.
Expected behavior
The site should be loaded with the users chosen language regardless of method of signing in.
Additional context
Appears to be an issue with the x-login-link components in the resources/views/auth/login.blade.php file. Which I believe are related to the spatie/laravel-login-link package.
The text was updated successfully, but these errors were encountered:
Prerequisites
Describe the bug
When the application is run in the
local
environment, usually only for local development, a series a login links are provided on the login page to simplify testing different user accounts. However, these logins don't respect the user's language preference and will load the site in whatever language the site was in at the time of login.To Reproduce
Steps to reproduce the behavior:
APP_ENV
set tolocal
[email protected]
).Expected behavior
The site should be loaded with the users chosen language regardless of method of signing in.
Additional context
Appears to be an issue with the
x-login-link
components in the resources/views/auth/login.blade.php file. Which I believe are related to the spatie/laravel-login-link package.The text was updated successfully, but these errors were encountered: