mjslabs/auth-plug

View on GitHub

Showing 1 of 1 total issue

Function Post has 5 return statements (exceeds 4 allowed).
Open

func Post(c echo.Context) error {
    username := c.FormValue("username")
    password := c.FormValue("password")

    if username == "" || password == "" {
Severity: Major
Found in login/post.go - About 35 mins to fix
    Severity
    Category
    Status
    Source
    Language