mirror of https://gitee.com/answerdev/answer.git
Merge branch 'feat/init-admin' into 'main'
feat: init admin set rank See merge request opensource/answer!114
This commit is contained in:
commit
5d8e6582d0
|
@ -77,6 +77,7 @@ func initAdminUser(engine *xorm.Engine) error {
|
||||||
MailStatus: 1,
|
MailStatus: 1,
|
||||||
NoticeStatus: 1,
|
NoticeStatus: 1,
|
||||||
Status: 1,
|
Status: 1,
|
||||||
|
Rank: 1,
|
||||||
DisplayName: "admin",
|
DisplayName: "admin",
|
||||||
IsAdmin: true,
|
IsAdmin: true,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue