Skip to content

Commit

Permalink
Fix password hash in test data to match the new gemma.agent.password …
Browse files Browse the repository at this point in the history
…default
  • Loading branch information
arteymix committed Jan 23, 2024
1 parent b92b6db commit e6b3cdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gemma-core/src/main/resources/sql/init-entities.sql
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ insert into AUDIT_TRAIL VALUES (3);

set @n:=now();

-- username=gemmaAgent: id = 2, password = 'gemmaAgent', audit trail #2, using salt={username}
insert into CONTACT (ID, CLASS, NAME, LAST_NAME, USER_NAME, PASSWORD, ENABLED, EMAIL, PASSWORD_HINT) values (2, "User", "gemmaAgent", "", "gemmaAgent", "a99c3785155e31ac8f9273537f14e9304cc22f20", 1, "[email protected]", "hint");
-- username=gemmaAgent: id = 2, password = 'XXXXXXXX', audit trail #2, using salt={username}
insert into CONTACT (ID, CLASS, NAME, LAST_NAME, USER_NAME, PASSWORD, ENABLED, EMAIL, PASSWORD_HINT) values (2, "User", "gemmaAgent", "", "gemmaAgent", "9f7afceef104a67d28082dcdb68643f3999c93ae", 1, "[email protected]", "hint");

-- username=administrator: id = 1, password = 'administrator', audit trail #1 using salt=username ('administrator')
insert into CONTACT (ID, CLASS, NAME, LAST_NAME, USER_NAME, PASSWORD, ENABLED, EMAIL, PASSWORD_HINT) values (1, "User", "administrator", "", "administrator", "b7338dcc17d6b6c199a75540aab6d0506567b980", 1, "[email protected]", "hint");
Expand Down

0 comments on commit e6b3cdf

Please sign in to comment.