mirror of
https://github.com/laurent22/joplin.git
synced 2025-03-26 21:12:59 +02:00
Tools: Fixed server test user creation
This commit is contained in:
parent
7a164b9b87
commit
9823ac3379
@ -43,7 +43,7 @@ do
|
||||
echo "config sync.target 10" >> "$CMD_FILE"
|
||||
# echo "config sync.10.path http://api.joplincloud.local:22300" >> "$CMD_FILE"
|
||||
echo "config sync.10.username $USER_EMAIL" >> "$CMD_FILE"
|
||||
echo "config sync.10.password 123456" >> "$CMD_FILE"
|
||||
echo "config sync.10.password hunter1hunter2hunter3" >> "$CMD_FILE"
|
||||
|
||||
elif [[ $CMD == "e2ee" ]]; then
|
||||
|
||||
|
@ -21,7 +21,7 @@ export async function createTestUsers(db: DbConnection, config: Config) {
|
||||
for (let userNum = 1; userNum <= 2; userNum++) {
|
||||
await models.user().save({
|
||||
email: `user${userNum}@example.com`,
|
||||
password: '123456',
|
||||
password: 'hunter1hunter2hunter3',
|
||||
full_name: `User ${userNum}`,
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user