committing everything before round 2
This commit is contained in:
+3
-1
@@ -9,6 +9,8 @@ import (
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
"solopm.com/solopm-server/auth"
|
||||
|
||||
"github.com/alexedwards/scs/v2"
|
||||
"github.com/joho/godotenv"
|
||||
)
|
||||
@@ -22,7 +24,7 @@ func main() {
|
||||
}
|
||||
|
||||
// handle authentication
|
||||
sessionManager = scs.New()
|
||||
sessionManager = scs.NewServerMux()
|
||||
sessionManager.Lifetime = 24 * time.Hour
|
||||
|
||||
// handle frontend views
|
||||
|
||||
Reference in New Issue
Block a user