- Add ALTCHA service with challenge generation and verification - Update auth and admin handlers to use ALTCHA tokens - Replace Turnstile widget with ALTCHA widget in Flutter app - Update admin frontend to use ALTCHA token - Add ALTCHA challenge endpoints for both auth and admin - Maintain development bypass for testing - Remove Turnstile dependencies from authentication flow
5 lines
293 B
SQL
5 lines
293 B
SQL
-- Set patrick@mp.ls as admin on server and reset password
|
|
UPDATE profiles SET role = 'admin' WHERE id IN (SELECT id FROM users WHERE email = 'patrick@mp.ls');
|
|
|
|
UPDATE users SET encrypted_password = '$2a$10$qqXZMxr1cjYTNaN5v3YISes4/sQofUD0dn/.FQj6xJCgoQ4XpPi82' WHERE email = 'patrick@mp.ls';
|