feature: Manager-only accounts, and the Router Manager's first administrator.
Release / release (push) Successful in 20s

This commit is contained in:
slawek committed 2026-10-24 11:56:58 +02:00
1 parent b1e6d9cd0b
commit af3127d1e8
9 files changed
+259 -47

No files matched your search

@@ -30,6 +30,9 @@ DATABASE_SECRET = pathlib.Path('/etc/vpn-router/database.secret')
#: The role and the database provision() creates when web.database is not set.
DATABASE = 'vpn-router'
#: The user operations of vpnrouter_users after which the user's refresh tokens are revoked.
REVOKING = ('passwd', 'disable', 'unlock', 'remove')
#: Seconds an access token of /auth and a refresh token are valid.
ACCESS_SECONDS = 300
REFRESH_SECONDS = 8 * 3600