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

Fix Registration Without E-Mail #4811

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

iraline
Copy link
Contributor

@iraline iraline commented Apr 12, 2022

References

Related to the issue #4779

Objectives

Do not allow the form to be sent if the email is not filled in

Visual Changes

When the user tries to submit the form without filling the email, it shows a message.
image

Notes

Some messages about deprecations:

!global assignments won't be able to declare new variables in future versions.
Consider adding `$alert-color: null` at the top level.
!global assignments won't be able to declare new variables in future versions.
Consider adding `$primary-color: null` at the top level.
!global assignments won't be able to declare new variables in future versions.
Consider adding `$secondary-color: null` at the top level.
!global assignments won't be able to declare new variables in future versions.
Consider adding `$success-color: null` at the top level.
!global assignments won't be able to declare new variables in future versions.
Consider adding `$warning-color: null` at the top level.
!global assignments won't be able to declare new variables in future versions.
Consider adding `$-zf-size: null` at the top level.
!global assignments won't be able to declare new variables in future versions.
Consider adding `$-zf-bp-value: null` at the top level.

@javierm javierm added this to Reviewing in Consul Democracy via automation Apr 13, 2022
@javierm javierm added the Bug label Apr 13, 2022
@javierm javierm changed the title Fix Registration Without E-Mail- Issue #4779 Fix Registration Without E-Mail May 3, 2022
@taitus taitus self-assigned this May 3, 2022
@taitus
Copy link
Member

taitus commented May 3, 2022

Hi, @iraline

Thanks for creating the PR to keep reducing the issues 🙏

As for the code, using required: true doesn’t seem very consistent with other required fields and the rest of the forms in the application.

What do you think if we apply this patch?
patch.txt

Do you feel like applying the patch and writing a test to validate it?

Regards and thanks a lot!

@taitus taitus moved this from Reviewing to Doing in Consul Democracy May 3, 2022
@iraline
Copy link
Contributor Author

iraline commented May 4, 2022

Hi @taitus! Sure, I can do this. 😊

@javierm javierm moved this from Doing to Reviewing in Consul Democracy May 6, 2022
@javierm javierm added the 1.5 label Jun 2, 2022
@taitus
Copy link
Member

taitus commented Jun 2, 2022

Hi @iraline,

Thank you for adding the changes!

A couple of details before we merge the PR into master:

If you agree to apply the changes, great. If not, don't worry, before closing the new release 1.5 we will check the status of the PR and if it hasn't changed we will apply them.

Best regards and thank you very much for your contributions.

@javierm javierm moved this from Reviewing to Doing in Consul Democracy Jun 2, 2022
@javierm javierm moved this from Doing to Reviewing in Consul Democracy Jun 6, 2022
@taitus
Copy link
Member

taitus commented Jun 7, 2022

Hi @iraline,

Thank you for the changes.

The PR is almost ready to merge. Just one more suggestion:

  • The spec that has been added doesn't fail if we remove the changes from this PR. To make it fail without the changes and pass with the changes you would need to add the following line at the beginning of the spec:
    Setting["feature.user.skip_verification"] = true

For our part, once this change is added, we will proceed to merge in master. If you could apply this change it would be great.

Best regards and thank you very much for your contributions.

@taitus taitus moved this from Reviewing to Doing in Consul Democracy Jun 7, 2022
@javierm javierm moved this from Doing to Reviewing in Consul Democracy Jun 7, 2022
@javierm javierm linked an issue Jun 7, 2022 that may be closed by this pull request
Consul Democracy automation moved this from Reviewing to Testing Jun 8, 2022
@taitus taitus merged commit 2b45e2f into consuldemocracy:master Jun 8, 2022
Consul Democracy automation moved this from Testing to Release 1.5.0 Jun 8, 2022
@javierm javierm removed the 1.5 label Jun 8, 2022
@iraline iraline deleted the fix_require_email branch June 8, 2022 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Registration without E-Mail possible
3 participants