return to login-view on submit

This commit is contained in:
Niels Lyngsø
2019-05-01 14:31:26 +02:00
parent b60fe9cc0a
commit b4368666ca

View File

@@ -190,7 +190,10 @@
}
function loginSubmit(login, password) {
// make sure that we are returning to the login view.
vm.view = "login";
// TODO: Do validation properly like in the invite password update
//if the login and password are not empty we need to automatically