Skip to content

Commit f740771

Browse files
committed
style: update default login username and password
1 parent 229ae4c commit f740771

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

blog-business-web/src/views/login/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ export default {
108108
109109
return {
110110
loginForm: {
111-
username: 'blog_hackyle_admin',
112-
password: 'kyleshawe',
111+
username: 'hackyle',
112+
password: 'hackyle',
113113
code: '', //验证码
114114
},
115115
loginRules: {

blog-common/src/main/java/com/hackyle/blog/common/util/HashUtils.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ public static String sha256(String data, String salt) {
6060

6161
public static void main(String[] args) {
6262

63-
String md5 = md5("kyleshawe");
64-
System.out.println(md5);
63+
//String md5 = md5("hackyle");
64+
//System.out.println(md5);
6565

66-
String sha1 = sha1("kyleshawe");
67-
System.out.println(sha1);
66+
//String sha1 = sha1("hackyle");
67+
//System.out.println(sha1);
6868

69-
String sha256 = sha256("kyleshawe");
69+
String sha256 = sha256("hackyle");
7070
System.out.println(sha256);
7171
}
7272
}

sql/blog_hackyle_com_dev.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ CREATE TABLE tb_administrator (
3030
) ENGINE=InnoDB COMMENT '用户(管理员)信息';
3131
-- 插入默认数据:密码=kyleshawe
3232
INSERT INTO tb_administrator (id, username, password, nick_name, real_name, description, email, phone, address, birthday, gender, avatar)
33-
VALUES (11111, 'blog_hackyle_admin', 'Mo6f7utOcua1B3Id8EsAabzVfKbvRxGWUIW2tsr+CFU=', 'Hackyle', 'Kyle Shawe', 'I am Kyle Shawe, super admin', '1617358182@qq.com', '15797953262', 'SH CN', '1997-01-06 20:00:00', 1, 'https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif');
33+
VALUES (11111, 'hackyle', '936SSdogViX+q6vP1yc/IE55LkAB63K/0K0wnw2KogM=', 'Hackyle', 'Kyle Shawe', 'I am Kyle Shawe, super admin', '1617358182@qq.com', '15797953262', 'SH CN', '1997-01-06 20:00:00', 1, 'https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif');
3434

3535

3636
# 文章主体

0 commit comments

Comments
 (0)