mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-01-22 07:03:21 +01:00
Updated README.md
This commit is contained in:
parent
7da5398d0d
commit
33307c75af
@ -41,6 +41,18 @@ cat /var/lib/docker/volumes/friendica_data/_data/config/local.config.php
|
|||||||
## Check environment variables
|
## Check environment variables
|
||||||
docker compose exec -it application printenv
|
docker compose exec -it application printenv
|
||||||
```
|
```
|
||||||
|
## create user
|
||||||
|
INSERT INTO user (guid, username, email, password, verified, register_date, account_expires_on, account_expired)
|
||||||
|
VALUES (
|
||||||
|
UUID(), -- Generiert eine eindeutige Benutzer-ID
|
||||||
|
'newusername', -- Benutzername
|
||||||
|
'newuser@example.com', -- E-Mail-Adresse
|
||||||
|
MD5('newpassword'), -- Passwort (kann durch Bcrypt ersetzt werden, siehe unten)
|
||||||
|
1, -- Verifizierungsstatus (1 = verifiziert)
|
||||||
|
NOW(), -- Registrierungsdatum
|
||||||
|
'0001-01-01 00:00:00', -- Kontodauer unbegrenzt
|
||||||
|
0 -- Konto ist nicht abgelaufen
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user