relaunch app after successful sync

This commit is contained in:
zadam
2019-12-28 12:55:53 +01:00
parent 05a8ffb944
commit bb8b563ece
3 changed files with 16 additions and 7 deletions

View File

@@ -83,7 +83,7 @@ async function checkBasicAuth(req, res, next) {
const dbUsername = await optionService.getOption('username');
if (dbUsername !== username || !await passwordEncryptionService.verifyPassword(password)) {
res.status(401).send("Not authorized");
res.status(401).send('Incorrect username and/or password');
}
else {
next();