Skip to content

Commit

Permalink
fix: 管理员初始化时默认邮箱的问题 (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
eryajf authored Nov 11, 2023
1 parent 96d8ab2 commit 87ec6a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/common/init_mysql_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func InitData() {
Password: tools.NewGenPasswd(config.Conf.Ldap.AdminPass),
Nickname: "管理员",
GivenName: "最强后台",
Mail: "admin@eryajf.net",
Mail: "admin@" + config.Conf.Ldap.DefaultEmailSuffix,
JobNumber: "0000",
Mobile: "18888888888",
Avatar: "https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif",
Expand Down

0 comments on commit 87ec6a1

Please sign in to comment.