mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 22:55:24 +00:00
feat: login policy hook for plugins and optional https redirect (#1584)
This commit is contained in:
1 parent
34a9c77114
commit
ad46f42ab1
53 files changed
+15250
-59
No files matched your search
@@ -328,6 +328,8 @@ export interface AuthenticatedRequest extends Request {
|
||||
sessionId?: string;
|
||||
apiKeyId?: string;
|
||||
actingAdminUserId?: string;
|
||||
/** Set while the session may only set up a second factor. */
|
||||
sessionRestriction?: string | null;
|
||||
user?: {
|
||||
id: string;
|
||||
username: string;
|
||||
|
||||
Reference in new issue
Block a user