summaryrefslogtreecommitdiff
path: root/app/models/personal_access_token.rb
diff options
context:
space:
mode:
authorImre Farkas <ifarkas@gitlab.com>2019-04-02 16:48:55 +0000
committerKamil TrzciƄski <ayufan@ayufan.eu>2019-04-02 16:48:55 +0000
commitea283bbc6bc5d1e4b03259495c7e0e1e1978059e (patch)
tree86bfb8b4a07e29a106cfb253930364643320865e /app/models/personal_access_token.rb
parent9240118691c4abf3e5a5f59e7569ad04c6fa7198 (diff)
downloadgitlab-ce-ea283bbc6bc5d1e4b03259495c7e0e1e1978059e.tar.gz
Remove ignore column for PersonalAccessToken#token
Diffstat (limited to 'app/models/personal_access_token.rb')
-rw-r--r--app/models/personal_access_token.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/personal_access_token.rb b/app/models/personal_access_token.rb
index 570112b63b7..d5770387872 100644
--- a/app/models/personal_access_token.rb
+++ b/app/models/personal_access_token.rb
@@ -2,11 +2,9 @@
class PersonalAccessToken < ApplicationRecord
include Expirable
- include IgnorableColumn
include TokenAuthenticatable
add_authentication_token_field :token, digest: true
- ignore_column :token
REDIS_EXPIRY_TIME = 3.minutes