Update customer_token.rb

This commit is contained in:
2016-09-02 00:04:33 -04:00
committed by GitHub
parent b31c3ad550
commit 76bd0d4e08

View File

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