MAPG-69 ability to reset signup filled after login attempt
This commit is contained in:
1 parent
285f2dd0ac
commit
a8777b897b
5 files changed
+31
-2
No files matched your search
@@ -46,4 +46,15 @@
|
||||
window.location.replace('/signup/success');
|
||||
}, formData);
|
||||
};
|
||||
|
||||
var resetSignupButton = document.getElementById('resetSignupButton');
|
||||
if (resetSignupButton) {
|
||||
resetSignupButton.onclick = function () {
|
||||
document.getElementById('loading').style.visibility = 'visible';
|
||||
|
||||
MapGuesser.httpRequest('POST', '/signup/reset', function () {
|
||||
window.location.reload();
|
||||
});
|
||||
};
|
||||
}
|
||||
})();
|
||||
Reference in new issue
Block a user