You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by bh...@apache.org on 2019/04/15 09:26:56 UTC
[incubator-dlab] branch develop updated: DLAB-000 changed error
message in case of wrong credentials for dev mode
This is an automated email from the ASF dual-hosted git repository.
bhliva pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/develop by this push:
new 4e0c60f DLAB-000 changed error message in case of wrong credentials for dev mode
4e0c60f is described below
commit 4e0c60fdcd44d7c3065ec972014f3bdd20029c66
Author: bhliva <bo...@epam.com>
AuthorDate: Mon Apr 15 12:26:42 2019 +0300
DLAB-000 changed error message in case of wrong credentials for dev mode
---
.../src/main/java/com/epam/dlab/backendapi/modules/DevModule.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/services/self-service/src/main/java/com/epam/dlab/backendapi/modules/DevModule.java b/services/self-service/src/main/java/com/epam/dlab/backendapi/modules/DevModule.java
index d09a63b..dad1565 100644
--- a/services/self-service/src/main/java/com/epam/dlab/backendapi/modules/DevModule.java
+++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/modules/DevModule.java
@@ -136,7 +136,7 @@ public class DevModule extends ModuleBase<SelfServiceApplicationConfiguration> i
} else {
return (T) Response.status(Response.Status.UNAUTHORIZED)
.entity(new ErrorDTO(Response.Status.UNAUTHORIZED.getStatusCode(), "Username or password" +
- " are not valid"))
+ " is invalid"))
.type(MediaType.APPLICATION_JSON_TYPE)
.build();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org