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

Dont allow setting language if user not exists #3518

Closed
pebosi opened this issue Nov 5, 2012 · 2 comments
Closed

Dont allow setting language if user not exists #3518

pebosi opened this issue Nov 5, 2012 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@pebosi
Copy link
Contributor

pebosi commented Nov 5, 2012

Currently you could add entries to user_language table for login names which dont exist. Please review my patch.

Regards

@pebosi
Copy link
Contributor Author

pebosi commented Nov 5, 2012

Attachment:
checkuser-before-set-language.patch

@mattab
Copy link
Member

mattab commented Nov 9, 2012

I prefer not to make public the function userExists - also the function is only avilable to super user so cant be abused

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

2 participants