We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c005640 + f121a88 commit e2262fbCopy full SHA for e2262fb
firefly/static/javascripts/login.js
@@ -54,8 +54,9 @@ define(['jquery'], function($) {
54
registerEnable: function(){
55
var EmptyInut = $(this).find('input').filter(
56
function() { return $(this).val() == ""; }),
57
+ InputPassword = $(this).find('#inputPassword').val(),
58
$registerBtn = $('#signupBtn');
- if (EmptyInut.length) {
59
+ if (EmptyInut.length || InputPassword.length < 8) {
60
$registerBtn.attr('disabled', 'disabled');
61
} else {
62
$registerBtn.removeAttr('disabled');
0 commit comments