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

关于 初始超级管理员 #4280

Closed
wangxiaoerYah opened this issue Jul 22, 2023 · 3 comments
Closed

关于 初始超级管理员 #4280

wangxiaoerYah opened this issue Jul 22, 2023 · 3 comments
Labels
kind/improvement Categorizes issue or PR as related to a improvement.

Comments

@wangxiaoerYah
Copy link

你当前使用的版本

2.1

描述一下此特性

根据使用文档,在第一次运行时会默认创建一个初始管理员.在这之后其实可以去掉:

--halo.security.initializer.superadminusername=admin \
  --halo.security.initializer.superadminpassword=P@88w0rd 

依然是正常运行的.
也许这样比较繁琐,可不可以直接内置这段代码到程序内部?
如果是第一次安装,那么程序默认创建一个超级用户,用户名:halo,密码:halo.
用户在后台界面自行修改即可.

附加信息

No response

@ruibaby
Copy link
Member

ruibaby commented Jul 24, 2023

计划是在首次初始化的时候设置初始管理员账户,通过参数指定后面只会变成一种选项。

详情可看:#3230

/kind improvement

@f2c-ci-robot f2c-ci-robot bot added the kind/improvement Categorizes issue or PR as related to a improvement. label Jul 24, 2023
@JohnNiang
Copy link
Member

Close in favor of #3230.

/close

@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Jul 26, 2023

@JohnNiang: Closing this issue.

In response to this:

Close in favor of #3230.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@f2c-ci-robot f2c-ci-robot bot closed this as completed Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/improvement Categorizes issue or PR as related to a improvement.
Projects
None yet
Development

No branches or pull requests

3 participants