1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 04:01:29 +00:00

Merge pull request #3571 from dxas90/patch-1

Fixes #3570
This commit is contained in:
Faissal Elamraoui 2019-03-14 19:16:15 +01:00 committed by GitHub
commit bc8fffe347
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ func APIBasicAuth(appid, appkey string) beego.FilterFunc {
// APIBaiscAuth calls APIBasicAuth for previous callers // APIBaiscAuth calls APIBasicAuth for previous callers
func APIBaiscAuth(appid, appkey string) beego.FilterFunc { func APIBaiscAuth(appid, appkey string) beego.FilterFunc {
return APIBaiscAuth(appid, appkey) return APIBasicAuth(appid, appkey)
} }
// APISecretAuth use AppIdToAppSecret verify and // APISecretAuth use AppIdToAppSecret verify and