Commit e12fd68e975f6f02dd620e1bbf0ecd9dedceb2b6
1 parent
7949955f
Exists in
master
and in
5 other branches
fixed password
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
js/main.js
... | ... | @@ -67,10 +67,10 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers |
67 | 67 | signupForm.find('#signup-user_email').val(user.email); |
68 | 68 | signupForm.find('#signup-user_name').val(user.login); |
69 | 69 | signupForm.find('#user_oauth_providers').val(user.oauth_providers); |
70 | - signupForm.find('div.password').hide(); | |
70 | + /*signupForm.find('div.password').hide(); | |
71 | 71 | signupForm.find('div.password-confirmation').hide(); |
72 | 72 | signupForm.find('#signup-user_password').attr('required', false); |
73 | - signupForm.find('#user_password_confirmation').attr('required', false); | |
73 | + signupForm.find('#user_password_confirmation').attr('required', false);*/ | |
74 | 74 | }; |
75 | 75 | |
76 | 76 | return { |
... | ... | @@ -1336,11 +1336,11 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers |
1336 | 1336 | var hasPasswordConfirmation = true; |
1337 | 1337 | var hasPasswordEquals = true; |
1338 | 1338 | |
1339 | - if(! isOAUTH){ | |
1339 | + //if(! isOAUTH){ | |
1340 | 1340 | hasPassword = $inputPassword && $inputPassword.val().length > 0; |
1341 | 1341 | hasPasswordConfirmation = $inputPasswordConfirmation && $inputPasswordConfirmation.val().length > 0; |
1342 | 1342 | hasPasswordEquals = $inputPassword.val() === $inputPasswordConfirmation.val(); |
1343 | - } | |
1343 | + //} | |
1344 | 1344 | |
1345 | 1345 | var hasAcceptation = $inputAcceptation.val(); |
1346 | 1346 | var hasCaptcha = $inputCaptcha.val().length > 0; | ... | ... |