frontend: Make signup/login/passwordreset/forgot forms submittable
Fixes #117
This commit is contained in:
@@ -43,7 +43,9 @@
|
||||
|
||||
|
||||
// Logs the user in and redirects to the dashboard.
|
||||
global.login = function() {
|
||||
global.login = function(event) {
|
||||
event.preventDefault();
|
||||
|
||||
var allOk = global.unfilledMark(["#email", "#password"], function(el) {
|
||||
el.css("border-bottom", "1px solid red");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user