Update customer_token.rb

This commit is contained in:
2016-09-02 00:02:39 -04:00
committed by GitHub
parent af7c1b0130
commit b31c3ad550

View File

@@ -10,7 +10,8 @@
class CustomerToken < ActiveRecord::Base
unloadable
attr_accessible :token, :expires_at, :issue
attr_accessible :token, :expires_at, :issue_id
validates_presence_of :token, :expires_at, :issue_id
before_create :generate_token
OAUTH_CONSUMER_SECRET = Setting.plugin_redmine_qbo['settingsOAuthConsumerSecret']