Remove themes from this repo

This commit is contained in:
2022-11-06 18:44:29 +01:00
parent 34b46655bd
commit dc53589e7d
147 changed files with 42 additions and 22310 deletions

View File

@@ -69,7 +69,11 @@ func NewIdentificationProvider(cfg *viper.Viper, services *services.ServicesHand
func (p *IdentificationProvider) Middleware(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
session, _ := p.SessionsStore.Get(r, "parcoursmob_session")
fmt.Println("IDP Middleware")
session, err := p.SessionsStore.Get(r, "parcoursmob_session")
if err != nil {
fmt.Println(err)
}
if session.Values["idtoken"] == nil || session.Values["idtoken"] == "" {