1
0
mirror of https://github.com/volatiletech/authboss.git synced 2025-09-16 09:06:20 +02:00

Merge pull request #104 from golliher/master

Added required handler for ListenAndServe
This commit is contained in:
Aaron L
2016-11-29 22:17:57 -08:00
committed by GitHub

View File

@@ -70,7 +70,7 @@ if err := ab.Init(); err != nil {
// Make sure to put authboss's router somewhere
http.Handle("/authboss", ab.NewRouter())
http.ListenAndServe(":8080")
http.ListenAndServe(":8080", nil)
```
Once you've got this code set up, it's time to implement the use cases you care about.