Update apiauth.go fixed infinite recursive call

This commit is contained in:
Daniel Ramirez Grave de Peralta 2019-03-14 09:14:12 -04:00 committed by GitHub
parent c2b6cb5c3a
commit 914bbfd710
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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