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
The environment variable username in windows environments can't be changed with .env file
Expected behavior
Connect successfully with username (=admin) defined in .env-File
Actual behavior
Connection fails, because of wrong username.
The username is set to the username with the user logged into windows.
However, this username can differ from the username defined in the .env file
Steps to reproduce the behavior
Changing the environment variable to IDOIT_USERNAME works:
The environment variable username in windows environments can't be changed with .env file
Expected behavior
Connect successfully with username (=admin) defined in .env-File
Actual behavior
Connection fails, because of wrong username.
The username is set to the username with the user logged into windows.
However, this username can differ from the username defined in the .env file
Steps to reproduce the behavior
Changing the environment variable to IDOIT_USERNAME works:
File: .env
IDOIT_USERNAME=admin
File: BaseTest.php
Method: setUp()
Line: 143
if (getenv('IDOIT_USERNAME') !== false && getenv('PASSWORD') !== false) {
$config[API::USERNAME] = getenv('IDOIT_USERNAME');
$config[API::PASSWORD] = getenv('PASSWORD');
}
Environment
Windows
The text was updated successfully, but these errors were encountered: