auth

Paddy 2014-08-13 Parent:3423c552e249

8:fb2fd59f9930 Go to Latest

auth/info.go

Remove erroneous RedirectURI check. There's no real reason to check the RedirectURI when getting token info.

History
     1.1 --- a/info.go	Wed Aug 13 06:07:10 2014 -0400
     1.2 +++ b/info.go	Wed Aug 13 06:07:37 2014 -0400
     1.3 @@ -23,10 +23,6 @@
     1.4  		// TODO: return error
     1.5  		return
     1.6  	}
     1.7 -	if accessData.Client.RedirectURI == "" {
     1.8 -		// TODO: return error
     1.9 -		return
    1.10 -	}
    1.11  	if accessData.IsExpired() {
    1.12  		// TODO: return error
    1.13  		return