Feat: finish login and add test
This commit is contained in:
@@ -18,8 +18,8 @@ type postLoginInput struct {
|
||||
|
||||
// PostLogin
|
||||
//
|
||||
// @param payload body postLoginInput true "payload"
|
||||
// @success 302 {object} string "redirect to root page"
|
||||
// @param payload body postLoginInput true "payload"
|
||||
// @success 200
|
||||
// @router /auth/login [post]
|
||||
func (self *Handlers) PostLogin(
|
||||
w http.ResponseWriter, req bunrouter.Request,
|
||||
|
||||
Reference in New Issue
Block a user