Skip to content

User Profile Terms of service#38619

Merged
roland-d merged 3 commits intojoomla:4.2-devfrom
brianteeman:user_profile_tos
Aug 31, 2022
Merged

User Profile Terms of service#38619
roland-d merged 3 commits intojoomla:4.2-devfrom
brianteeman:user_profile_tos

Conversation

@brianteeman
Copy link
Copy Markdown
Contributor

In the user profile plugin there is a Terms of Service field that is required on registration. It has an optional accompanying field to link to an article.

Pull Request for Issue #28537 .

Summary of Changes

Before this PR the logic for checking that a user had agreed to the terms of service was broken so thta if there is no linked article the cjeck is never performed and a user can still register even if they dont agree.

This PR removes the check for the existence of the article and tweaks the language string used in the error message accordingly

Testing Instructions

  • enable user registration
  • enable the user profile plugin
  • try to create a new user without agreeing to the terms

Actual result BEFORE applying this Pull Request

User created

Expected result AFTER applying this Pull Request

User not created and error message displayed

In the user profile plugin there is a Terms of Service field that is required on registration. It has an optional accompanying field to link to an article.
@Kostelano
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on 420ed1e

Thanks, it works.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38619.

@viocassel
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on 420ed1e


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38619.

@richard67
Copy link
Copy Markdown
Member

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38619.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Aug 28, 2022
@richard67
Copy link
Copy Markdown
Member

@Quy Does it need new tests? From my point of view RTC is still ok, I've just reviewed that last change.

@Quy
Copy link
Copy Markdown
Contributor

Quy commented Aug 28, 2022

It is not necessary as it is an obsolete variable.

@roland-d roland-d merged commit f8bd132 into joomla:4.2-dev Aug 31, 2022
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Aug 31, 2022
@roland-d
Copy link
Copy Markdown
Contributor

Thank you

@roland-d roland-d added this to the Joomla! 4.2.2 milestone Aug 31, 2022
@brianteeman
Copy link
Copy Markdown
Contributor Author

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language Change This is for Translators

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants