mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update qbo_controller.rb
This commit is contained in:
@@ -54,11 +54,6 @@ class QboController < ApplicationController
|
||||
# Save the authentication information
|
||||
qbo = Qbo.new
|
||||
qbo.qb_token = at.token
|
||||
|
||||
session[:qb_request_token] = Marshal.dump(at.token)
|
||||
|
||||
Marshal.load(session[:qb_request_token]).get_access_token(:oauth_verifier => params[:oauth_verifier])
|
||||
|
||||
qbo.qb_secret = at.secret
|
||||
qbo.token_expires_at = 6.months.from_now.utc
|
||||
qbo.reconnect_token_at = 5.months.from_now.utc
|
||||
|
||||
Reference in New Issue
Block a user