fix: changed login error display message
This commit is contained in:
1 parent
bd78dbb95d
commit
a73d3ec83e
1 file changed
+1
-1
@@ -5,7 +5,7 @@ import StringService from "../service/stringService.js";
|
||||
const handleErrors = (error, req, res, next) => {
|
||||
const status = error.status || 500;
|
||||
const stringService = ServiceRegistry.get(StringService.SERVICE_NAME);
|
||||
const message = error.message || stringService.friendlyError;
|
||||
const message = error.message || stringService.authIncorrectPassword;
|
||||
const service = error.service || stringService.unknownService;
|
||||
logger.error({
|
||||
message: message,
|
||||
|
||||
Reference in new issue
Block a user