minor bugfix in login.js (preventing display of error message)
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -20,7 +20,7 @@ function handleLogin(response){
|
||||
} else {
|
||||
response.json().then(json => {
|
||||
if (json.data.release) get('release').innerHTML = new Date(json.data.release).toLocaleString();
|
||||
show(json.error);
|
||||
show(json.message);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user