mirror of
https://github.com/astaxie/beego.git
synced 2025-06-11 06:20:38 +00:00
apiauth add more comments & improve
This commit is contained in:
@ -27,6 +27,7 @@
|
||||
//
|
||||
//
|
||||
// Advanced Usage:
|
||||
//
|
||||
// func SecretAuth(username, password string) bool {
|
||||
// return username == "astaxie" && password == "helloBeego"
|
||||
// }
|
||||
|
Reference in New Issue
Block a user