Commit ea283bbc authored by Imre Farkas's avatar Imre Farkas Committed by Kamil Trzciński

Remove ignore column for PersonalAccessToken#token

parent 92401186
...@@ -2,11 +2,9 @@ ...@@ -2,11 +2,9 @@
class PersonalAccessToken < ApplicationRecord class PersonalAccessToken < ApplicationRecord
include Expirable include Expirable
include IgnorableColumn
include TokenAuthenticatable include TokenAuthenticatable
add_authentication_token_field :token, digest: true add_authentication_token_field :token, digest: true
ignore_column :token
REDIS_EXPIRY_TIME = 3.minutes REDIS_EXPIRY_TIME = 3.minutes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment