Lisää data-tiedostot gittiin + dynaaminen SITE_URL

- companies.json, users.json, config.json gitin seurantaan
- SITE_URL dynaaminen HTTP_HOST:in mukaan
- MAIL_FROM vaihdettu noreply@noxus.fi
- CuituNet Intra → Noxus Intra sähköposteissa

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 14:18:23 +02:00
parent daec42600a
commit 712e9a1222
8 changed files with 45 additions and 15 deletions

14
data/companies.json Normal file
View File

@@ -0,0 +1,14 @@
[
{
"id": "cuitunet",
"nimi": "CuituNet",
"luotu": "2026-03-10 08:58:43",
"aktiivinen": true,
"domains": [
"localhost",
"intra.cuitunet.fi"
],
"primary_color": "#0f3460",
"subtitle": "Kuituasiakkaiden hallinta"
}
]

View File

7
data/config.json Normal file
View File

@@ -0,0 +1,7 @@
{
"api_key": "3de64ed2a3ece1c0f497345e41e8e76d",
"cors_origins": [
"https:\/\/cuitunet.fi",
"https:\/\/www.cuitunet.fi"
]
}

1
data/login_attempts.json Normal file
View File

@@ -0,0 +1 @@
[{"ip":"::1","time":1773143220}]

1
data/reset_tokens.json Normal file
View File

@@ -0,0 +1 @@
[]

17
data/users.json Normal file
View File

@@ -0,0 +1,17 @@
[
{
"id": "419d4b0c32b88d91",
"username": "admin",
"password_hash": "$2y$12$dEscK23qZ6Dt3idZxZxYl.6Z6sRdEWKeWvb7zmDYWDKsK/.l7bfli",
"nimi": "Ylläpitäjä",
"role": "admin",
"luotu": "2026-03-09 22:36:39",
"companies": [
"cuitunet"
],
"email": "",
"signatures": {
"846898d4a1cb3a08": "Jukka Lampikoski\nCuituNet Oy\nasiakaspalvelu@cuitunet.fi"
}
}
]