GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
Thanks @bantu I have changed the condition.
@dhruvgoel92 Please change the commit message summary to be more clear/meaningful. E.g. "Disallow sending private messages to the guest user."
Thanks, I hope it is fine now?
@dhruvgoel92 Actually, it was never possible to send PMs to anonymous. According to http://tracker.phpbb.com/browse/PHPBB3-11233 you get an error message "No recipient defined.".
So should be something like "Disallow selecting guest user as a PM recipient." Sorry for the confusion.
"Prohibit selecting anonymous user as a PM recipient."
Do not mention "user id of 1" in commit message - refer to anonymous user as anonymous.
[ticket/11233] prohibit selecting anonymous user as a PM recipient
While composing pm, it should not be allowed to add
anonymous user as a PM recipient