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

Removed resetting checkpolicy to 0 #39

Closed
wants to merge 2 commits into from

Conversation

VOOM108
Copy link

@VOOM108 VOOM108 commented Feb 18, 2020

Issue #38
Line 119 commented out: Agreement to policy is triggered before the signup form, this would reset it

Line 119 commented out: Agreement to policy is triggered before the signup form, this would reset it
auth.php Outdated
@@ -116,7 +116,7 @@ public function user_signup($user, $notify=true) {
$user->picture = 0;
$user->imagealt = 0;
$user->deleted = 0;
$user->policyagreed = 0;
// $user->policyagreed = 0; // Agreement to policy is triggered before the signup form, this would reset it
Copy link
Contributor

Choose a reason for hiding this comment

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

Please don't comment out code in the patch, just either fix it to what it should be or remove the line completely.

The CI was complaining because comments must end with punctuation:

https://travis-ci.org/catalyst/moodle-auth_enrolkey/jobs/652233553#L891

Copy link
Author

Choose a reason for hiding this comment

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

I corrected the PR (hopefully). I find all this Github stuff more than confusing...

Corrected the PR (removed line completely)
@VOOM108 VOOM108 changed the title Update auth.php Removed resetting checkpolicy to 0 Feb 25, 2020
@brendanheywood
Copy link
Contributor

Hmm I'm not sure it's that simple, I think this needs to take the emailconfirmation setting into account. Leave it with us please

@gleimermora
Copy link
Contributor

This issue will be fix in:
https://github.com/catalyst/moodle-auth_enrolkey/pull/45/files

@gleimermora gleimermora closed this Mar 2, 2020
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.

3 participants