Skip to content

Commit

Permalink
Adding more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Jan 6, 2025
1 parent 8e14f4e commit 40f1a7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/views/views.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,14 @@ func (v *Views) Authenticated(next echo.HandlerFunc) echo.HandlerFunc {
goto login
}

fmt.Println(t)

if t.Token == "" {
goto login
}

fmt.Println(resp.StatusCode)

if resp.StatusCode != 201 {
goto login
}
Expand Down

0 comments on commit 40f1a7e

Please sign in to comment.