Skip to content
Snippets Groups Projects
Commit ff5e49f5 authored by Sean McArthur's avatar Sean McArthur
Browse files

disable email field after pressing next

re-enabled after request finishes

fixes #1661
parent 303dc9d1
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,9 @@ BrowserID.signIn = (function() {
email = helpers.getAndValidateEmail("#email");
if(email) {
dom.setAttr('#email', 'disabled', 'disabled');
user.addressInfo(email, function(info) {
dom.removeAttr('#email', 'disabled');
addressInfo = info;
if(info.type === "secondary") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment