Commit a0d4f09d authored by LAVENIER's avatar LAVENIER
Browse files

Release v0.13.15

[fix] Login auth: allow to override the default login/pwd, when develop
parent a19004ec
......@@ -89,15 +89,10 @@ export class AuthForm extends AppForm<AuthData> implements OnInit {
);
// For DEV only
if (this.environment && this.environment.production === false) {
if (this.environment && this.environment.production === false && this.environment.development) {
// Set the default user, for testing.
// (see values in the test database - XML files in the module 'sumaris-core-test-shared')
this.form.patchValue({
// Override using environment, if any
...this.environment.development
});
// Override using environment, if any
this.form.patchValue(this.environment.development);
}
}
......
......@@ -44,6 +44,7 @@ export class Environment {
reportIssueUrl?: string;
// Development
// (see values in the test database - XML files in Pod's module)
development: {
username?: string;
password?: string;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment