mirror of
https://github.com/h44z/wg-portal.git
synced 2025-09-15 07:11:15 +00:00
fix: fix session handling (remove IdleTimeout)
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
}
|
||||
},
|
||||
"/auth/logout": {
|
||||
"get": {
|
||||
"post": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
@@ -66,15 +66,12 @@
|
||||
"Authentication"
|
||||
],
|
||||
"summary": "Get all available external login providers.",
|
||||
"operationId": "auth_handleLogoutGet",
|
||||
"operationId": "auth_handleLogoutPost",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/model.LoginProviderInfo"
|
||||
}
|
||||
"$ref": "#/definitions/model.Error"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1523,23 +1520,23 @@
|
||||
"model.AuditEntry": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ContextUser": {
|
||||
"type": "string"
|
||||
},
|
||||
"Id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"Message": {
|
||||
"type": "string"
|
||||
},
|
||||
"ctx_user": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"origin": {
|
||||
"Origin": {
|
||||
"description": "origin: for example user auth, stats, ...",
|
||||
"type": "string"
|
||||
},
|
||||
"severity": {
|
||||
"Severity": {
|
||||
"type": "string"
|
||||
},
|
||||
"timestamp": {
|
||||
"Timestamp": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
@@ -2,18 +2,18 @@ basePath: /api/v0
|
||||
definitions:
|
||||
model.AuditEntry:
|
||||
properties:
|
||||
ContextUser:
|
||||
type: string
|
||||
Id:
|
||||
type: integer
|
||||
Message:
|
||||
type: string
|
||||
ctx_user:
|
||||
type: string
|
||||
id:
|
||||
type: integer
|
||||
origin:
|
||||
Origin:
|
||||
description: 'origin: for example user auth, stats, ...'
|
||||
type: string
|
||||
severity:
|
||||
Severity:
|
||||
type: string
|
||||
timestamp:
|
||||
Timestamp:
|
||||
type: string
|
||||
type: object
|
||||
model.ConfigOption-array_string:
|
||||
@@ -496,17 +496,15 @@ paths:
|
||||
tags:
|
||||
- Authentication
|
||||
/auth/logout:
|
||||
get:
|
||||
operationId: auth_handleLogoutGet
|
||||
post:
|
||||
operationId: auth_handleLogoutPost
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/definitions/model.LoginProviderInfo'
|
||||
type: array
|
||||
$ref: '#/definitions/model.Error'
|
||||
summary: Get all available external login providers.
|
||||
tags:
|
||||
- Authentication
|
||||
|
Reference in New Issue
Block a user