We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.20.9
我想开放注册,但不希望随便什么人都能够注册进来,所以就想halo能不能做一个像openwebui那样的新用户待激活状态?
No response
The text was updated successfully, but these errors were encountered:
最好还能加一个webhook提醒新用户注册
Sorry, something went wrong.
Hi @B3000Kcn , thank you for reaching out here!
/kind feature /area core
目前倒是可以考虑直接禁用新注册用户来实现这一目标。
另外 Halo 已经默认提供 run.halo.app.core.user.service.UserPostCreatingHandler 扩展点,可以实现 webhook 功能。
run.halo.app.core.user.service.UserPostCreatingHandler
插件实现 UserPostCreatingHandler 然后将用户的 spec.disabled 设置为 false 然后发送一个通知给用户等待管理员同意,然后在通知一下管理员修改用户的 spec.disabled 状态,目前用户管理貌似没有提供这个状态的修改可能得插件提供,所以这个功能目前这个功能应该可以通过插件实现,3.x 可能会考虑增加这样的设置
No branches or pull requests
前置条件
你当前使用的版本
2.20.9
描述一下此特性
我想开放注册,但不希望随便什么人都能够注册进来,所以就想halo能不能做一个像openwebui那样的新用户待激活状态?
附加信息
No response
The text was updated successfully, but these errors were encountered: