Feat: finish login and add test
This commit is contained in:
@@ -246,11 +246,8 @@ const docTemplate = `{
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"302": {
|
||||
"description": "redirect to root page",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -238,11 +238,8 @@
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"302": {
|
||||
"description": "redirect to root page",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -191,8 +191,6 @@ paths:
|
||||
schema:
|
||||
$ref: '#/definitions/auth.postLoginInput'
|
||||
responses:
|
||||
"302":
|
||||
description: redirect to root page
|
||||
schema:
|
||||
type: string
|
||||
"200":
|
||||
description: OK
|
||||
swagger: "2.0"
|
||||
|
||||
Reference in New Issue
Block a user