From 9095b00cfbe933679a3691c5a45520430f104365 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 16 Jan 2025 19:39:45 +0100 Subject: [PATCH] Added an testemail --- roles/docker-friendica/README.md | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/roles/docker-friendica/README.md b/roles/docker-friendica/README.md index 97bb273e..c4e0e91f 100644 --- a/roles/docker-friendica/README.md +++ b/roles/docker-friendica/README.md @@ -103,24 +103,7 @@ docker compose exec -it application cat /etc/msmtprc To send a test email: ```bash -docker compose exec -it application msmtp --account=system_email -t kevin@veen.world -``` - -### Create User 👤 - -To manually create a user in the database: -```sql -INSERT INTO user (guid, username, email, password, verified, register_date, account_expires_on, account_expired) -VALUES ( - UUID(), -- Generates a unique user ID - 'newusername', -- Username - 'newuser@example.com', -- Email address - MD5('newpassword'), -- Password (use Bcrypt if preferred) - 1, -- Verification status (1 = verified) - NOW(), -- Registration date - '0001-01-01 00:00:00', -- Unlimited account duration - 0 -- Account is not expired -); +docker compose exec -it application msmtp --account=system_email -t test@test.de ``` ## Additional Resources 📖