Skip to content

Commit

Permalink
Merge pull request #460 from nacos-group/develop
Browse files Browse the repository at this point in the history
remove default user from init sql
  • Loading branch information
paderlol authored Aug 2, 2024
2 parents 18244d2 + cb82f14 commit 3c73f20
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions operator/config/sql/nacos-mysql.sql
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,3 @@ CREATE TABLE IF NOT EXISTS `permissions` (
UNIQUE INDEX `uk_role_permission` (`role`,`resource`,`action`) USING BTREE
);

INSERT IGNORE INTO users (username, password, enabled) VALUES ('nacos', '$2a$10$EuWPZHzz32dJN7jexM34MOeYirDdFAZm2kuWj7VEOJhhZkDrxfvUu', TRUE);

INSERT IGNORE INTO roles (username, role) VALUES ('nacos', 'ROLE_ADMIN');

0 comments on commit 3c73f20

Please sign in to comment.