Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/apps/api/ViGet/JavaProperties.cs
diff options
context:
space:
mode:
authorLeitwolf112026-10-16 06:46:23 +0300
committerLeitwolf112026-10-16 06:46:23 +0300
commit205d91185e22b9129c528296cf07d15225d82866 (patch)
tree36432534da41e43d82c85089d207fa0d94f59e1e /apps/api/ViGet/JavaProperties.cs
parent3877e3318e875cdebc3d7b9bc970b4496e5183a9 (diff)
downloadprogmaweb-205d91185e22b9129c528296cf07d15225d82866.tar.gz
Keep account sessions for 30 days
A session of a Progmasoft Account, whether opened with a password or with Google, lasted 12 hours from the sign-in, and the setting could not raise it beyond 7 days. Sessions now last 30 days by default, and AccountSessions:LifetimeHours may set anything from 1 hour up to that new maximum of 720 hours; a value outside the range is clamped to it, as before. The lifetime stays fixed from the sign-in; it is not extended by use. The production environment file sets no lifetime, so the new default applies there once the API is deployed. Sessions opened before keep the expiry they were given. New tests check the 30-day default and the clamping of 0, 12, 720 and 10 000 hours. The account API document gives the new default and range.
Diffstat (limited to 'apps/api/ViGet/JavaProperties.cs')
0 files changed, 0 insertions, 0 deletions