Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds username length validation #13561

Merged
merged 5 commits into from
Feb 19, 2018
Merged

adds username length validation #13561

merged 5 commits into from
Feb 19, 2018

Conversation

AleGoiko
Copy link
Contributor

@AleGoiko AleGoiko commented Feb 16, 2018

fixes #13053

email = "testemail@#{@organization.whitelisted_email_domains[0]}"
password = '12345678'
host! "#{@organization.name}.localhost.lan"
post signup_organization_user_url(user_domain: @organization.name, user: { username: username, email: email, password: password })

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [136/120]

email = "testemail@#{@organization.whitelisted_email_domains[0]}"
password = '12345678'
host! "#{@organization.name}.localhost.lan"
post signup_organization_user_url(user_domain: @organization.name, user: { username: username, email: email, password: password })

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [136/120]

email = "testemail@#{@organization.whitelisted_email_domains[0]}"
password = '12345678'
user = { username: name, email: email, password: password }
org_name = @organization.name

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Operator = should be surrounded by a single space.
Unnecessary spacing detected.

@AleGoiko
Copy link
Contributor Author

retest this please

@alrocar alrocar self-assigned this Feb 19, 2018
@alrocar alrocar self-requested a review February 19, 2018 10:25
@alrocar alrocar merged commit bf0f058 into master Feb 19, 2018
@alrocar alrocar deleted the username_validation_13053 branch February 19, 2018 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No error messaging in org signup when username validation fails
3 participants