internal/sessions/parse.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func ParseSessions(r *http.Request, w http.ResponseWriter) (user.User, error) {

    // Connect to the database
    db.Conn("admin")
    defer db.DB.Close()
Severity: Major
Found in internal/sessions/parse.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status