Skip to content

Commit 87ec6a1

Browse files
authored
fix: 管理员初始化时默认邮箱的问题 (#274)
1 parent 96d8ab2 commit 87ec6a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/common/init_mysql_data.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ func InitData() {
232232
Password: tools.NewGenPasswd(config.Conf.Ldap.AdminPass),
233233
Nickname: "管理员",
234234
GivenName: "最强后台",
235-
Mail: "admin@eryajf.net",
235+
Mail: "admin@" + config.Conf.Ldap.DefaultEmailSuffix,
236236
JobNumber: "0000",
237237
Mobile: "18888888888",
238238
Avatar: "https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif",

0 commit comments

Comments
 (0)