Show proper login failure message

This commit is contained in:
Zaid Abdulla committed 2020-09-30 15:43:55 -07:00
1 parent 3fc0b1740d
commit c55a256d52
1 file changed
+1 -1
+1 -1
View File
@@ -81,7 +81,7 @@ export const component: ClosureComponent = (): Component => {
location.reload();
})
.catch((err) => {
notifications.push("error", err.message);
notifications.push("error", err.response || err.message);
e.target.disabled = false;
});
return false;