change ActiveSupport::SecureRandom to SecureRandom in orbit core
This commit is contained in:
1 parent
71fc85c24e
commit
81b0e3c38f
2 files changed
+2
-2
No files matched your search
@@ -140,7 +140,7 @@ module OrbitCoreLib
|
||||
|
||||
protected
|
||||
def generate_token
|
||||
self.s_token = ActiveSupport::SecureRandom.hex(16)
|
||||
self.s_token = SecureRandom.hex(16)
|
||||
self.save!
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user