mjslabs/auth-plug

View on GitHub
login/post.go

Summary

Maintainability
A
35 mins
Test Coverage
A
100%

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

    There are no issues that match your filters.

    Category
    Status