f3ba41a9 by astaxie

Merge pull request #517 from zkirill/develop

Fix basic auth plugin example.
2 parents 9e3ebc88 4befa1bc
...@@ -8,7 +8,7 @@ package auth ...@@ -8,7 +8,7 @@ package auth
8 // } 8 // }
9 // return false 9 // return false
10 // } 10 // }
11 // authPlugin := auth.NewBasicAuthenticator(SecretAuth) 11 // authPlugin := auth.NewBasicAuthenticator(SecretAuth, "My Realm")
12 // beego.AddFilter("*","AfterStatic",authPlugin) 12 // beego.AddFilter("*","AfterStatic",authPlugin)
13 13
14 import ( 14 import (
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!