Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of git://github.com/cnix/oauth-plugin

  • Loading branch information...
commit a7cae868b0443cffbc039461a22f25cc1b2023fc 2 parents 1baa6a5 + 33e4a9b
@kookster kookster authored
View
2  generators/oauth_provider/templates/migration.rb
@@ -22,7 +22,7 @@ def self.up
t.string :callback_url
t.string :verifier, :limit => 20
t.string :scope
- t.timestamp :authorized_at, :invalidated_at, :valid_to
+ t.timestamp :authorized_at, :invalidated_at, :expires_at
t.timestamps
end
View
2  lib/generators/active_record/oauth_provider_templates/migration.rb
@@ -22,7 +22,7 @@ def self.up
t.string :callback_url
t.string :verifier, :limit => 20
t.string :scope
- t.timestamp :authorized_at, :invalidated_at, :valid_to
+ t.timestamp :authorized_at, :invalidated_at, :expires_at
t.timestamps
end
View
2  lib/generators/mongoid/oauth_provider_templates/oauth_token.rb
@@ -9,7 +9,7 @@ class OauthToken
field :scope, :type => String
field :authorized_at, :type => Time
field :invalidated_at, :type => Time
- field :valid_to, :type => Time
+ field :expires_at, :type => Time
index :token, :unique => true
Please sign in to comment.
Something went wrong with that request. Please try again.