change ActiveSupport::SecureRandom to SecureRandom in orbit core
This commit is contained in:
parent
71fc85c24e
commit
81b0e3c38f
|
@ -140,7 +140,7 @@ module OrbitCoreLib
|
||||||
|
|
||||||
protected
|
protected
|
||||||
def generate_token
|
def generate_token
|
||||||
self.s_token = ActiveSupport::SecureRandom.hex(16)
|
self.s_token = SecureRandom.hex(16)
|
||||||
self.save!
|
self.save!
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Reference in New Issue