lib/doorkeeper/oauth/authorization/token.rb in doorkeeper-0.3.1 vs lib/doorkeeper/oauth/authorization/token.rb in doorkeeper-0.3.2
- old
+ new
@@ -12,10 +12,10 @@
def callback
uri_with_fragment(authorization.redirect_uri, {
:access_token => access_token.token,
:token_type => access_token.token_type,
- :expires_in => access_token.time_left,
+ :expires_in => access_token.expires_in,
:state => authorization.state
})
end
def issue_token