Caddy module to require at-proto authentication and restrict routes to DIDs
2

Configure Feed

Select the types of activity you want to include in your feed.

Fix logic bug in portal redirect, only serve login page on login route :)

+1 -1
+1 -1
portal.go
··· 370 370 } 371 371 372 372 // 4. Default: Login Page 373 - if r.URL.Path == loginPath || (loginPath == "/login" && r.URL.Path == "/") { 373 + if r.URL.Path == loginPath { 374 374 if sess, err := p.sessions.VerifyCookie(r); err == nil && sess != nil { 375 375 // Already logged in 376 376 redirectTo := r.URL.Query().Get("redirect_to")