mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 09:43:36 +02:00
Update contact auth info
This commit is contained in:
parent
e028305009
commit
15272bad76
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ class Contact < ActiveRecord::Base
|
|||
|
||||
def generate_auth_info
|
||||
return if @generate_auth_info_disabled
|
||||
self.auth_info = SecureRandom.hex(16)
|
||||
self.auth_info = SecureRandom.hex(11)
|
||||
end
|
||||
|
||||
def disable_generate_auth_info! # needed for testing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue