minor styling change to authenticationtoken model, changed the expire_at column of AuthenticationToken form date to datetime
This commit is contained in:

committed by
Sebastian Serth

parent
1a987a65d4
commit
6e213f754f
@ -4,6 +4,7 @@ require 'securerandom'
|
||||
|
||||
class AuthenticationToken < ApplicationRecord
|
||||
include Creation
|
||||
|
||||
def self.generate!(user)
|
||||
create!(
|
||||
shared_secret: SecureRandom.hex(32),
|
||||
|
Reference in New Issue
Block a user