From db0721e9820f399727b933088a276184e9565c9d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 30 Jul 2024 19:05:09 +0900 Subject: feat(backend): implement password-based authentication --- backend/fixtures/dev.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'backend/fixtures/dev.sql') 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) -- cgit v1.2.3-70-g09d2