fix(auth): change userpass to redirect to login and update documentation

This commit is contained in:
yusing
2025-09-14 21:11:20 +08:00
parent 025ebab1ce
commit 8b8969f033
5 changed files with 7 additions and 19 deletions

View File

@@ -12,7 +12,6 @@ import (
// @Tags auth
// @Produce plain
// @Success 302 {string} string "Redirects to login page or IdP"
// @Failure 403 {string} string "Forbidden(webui): follow X-Redirect-To header"
// @Failure 429 {string} string "Too Many Requests"
// @Router /auth/login [post]
func Login(c *gin.Context) {