diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2024-12-29 20:37:26 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2024-12-29 20:37:26 +0100 |
| commit | 7bc8e8b7262a3f3abe3222b3b434838e85cdb2bb (patch) | |
| tree | 4f5abb6180a069126cd787310942d5d7f8436768 /server/Rocket.toml | |
| parent | 0aa2545b703f5240a8208a07da8ab20b8bc6d1aa (diff) | |
Rework auth to include session
The actual authentication is still fake.
Diffstat (limited to 'server/Rocket.toml')
| -rw-r--r-- | server/Rocket.toml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/server/Rocket.toml b/server/Rocket.toml index 06369e5..6dd1ad1 100644 --- a/server/Rocket.toml +++ b/server/Rocket.toml @@ -1,2 +1,14 @@ +[default] +secret_key = "itlYmFR2vYKrOmFhupMIn/hyB6lYCCTXz4yaQX89XVg=" +session_max_age_days = 7 + [default.databases.eyeballs] url = "mysql://eyeballs:verysecret@127.0.0.1:3306/eyeballs" + +[release] +secret_key = "intentionally invalid" +session_max_age_days = 30 + +[release.databases.eyeballs] +url = "intentionally invalid" + |
