diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-07-30 19:05:09 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-07-30 19:05:09 +0900 |
| commit | db0721e9820f399727b933088a276184e9565c9d (patch) | |
| tree | 4cde08ad2fc675bbbfbfab544738fd070293ea74 /backend/fixtures | |
| parent | 61bf8dc35b82d0afd0263c0b6c37c2cfe5961a19 (diff) | |
| download | iosdc-japan-2025-albatross-db0721e9820f399727b933088a276184e9565c9d.tar.gz iosdc-japan-2025-albatross-db0721e9820f399727b933088a276184e9565c9d.tar.zst iosdc-japan-2025-albatross-db0721e9820f399727b933088a276184e9565c9d.zip | |
feat(backend): implement password-based authentication
Diffstat (limited to 'backend/fixtures')
| -rw-r--r-- | backend/fixtures/dev.sql | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backend/fixtures/dev.sql b/backend/fixtures/dev.sql index 3549d86..5e47386 100644 --- a/backend/fixtures/dev.sql +++ b/backend/fixtures/dev.sql @@ -6,11 +6,11 @@ VALUES ('c', 'TEST C', NULL, TRUE); INSERT INTO user_auths -(user_id, auth_type) +(user_id, auth_type, password_hash) VALUES - (1, 'bypass'), - (2, 'bypass'), - (3, 'bypass'); + (1, 'password', '$2a$10$5FzjoitnZSFFpIPHEqmnXOQkSKWTLwpR.gqPy50iFg5itOZcqARHq'), + (2, 'password', '$2a$10$4Wl1M4jQs.GwkB4oT32KvuMQtF.EdqKuOc8z8KKOupnuMJRAVk32W'), + (3, 'password', '$2a$10$F/TePpu1pyJRWgn0e6A14.VL9D/17sRxT/2DyZ2Oi4Eg/lR6n7JcK'); INSERT INTO problems (title, description) |
