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

[Feature request]: after unban user set is as not verified, not active #5181

Closed
Jimmi08 opened this issue Feb 2, 2024 · 0 comments · Fixed by #5182
Closed

[Feature request]: after unban user set is as not verified, not active #5181

Jimmi08 opened this issue Feb 2, 2024 · 0 comments · Fixed by #5182
Labels
type: enhancement An improvement or new feature request

Comments

@Jimmi08
Copy link
Contributor

Jimmi08 commented Feb 2, 2024

Motivation

Possibility to send activation email, activate user manually

Possibility to resend email for activated users - ban them and unban them, then activate...

Fix for unbanned user by mistake...

Thanks

Proposed Solution

Just set
$sql->update("user", "user_ban='2' WHERE user_id='".$userid."' ");

instead
$sql->update("user", "user_ban='0' WHERE user_id='".$userid."' ");

Alternatives

Use PHPMyadmin to change value manually
Add option change status from Activate to Not verified

Additional Context

No response

@Jimmi08 Jimmi08 added the type: enhancement An improvement or new feature request label Feb 2, 2024
CaMer0n added a commit that referenced this issue May 10, 2024
Fixes #5181 unbanned user = not verified status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement An improvement or new feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant