Method: Fortifier::Secret.make_token

Defined in:
app/models/fortifier/secret.rb

.make_tokenObject



147
148
149
150
# File 'app/models/fortifier/secret.rb', line 147

def self.make_token
  token=rand(36**30).to_s(36) while Secret.reset_token_unique?(token)==false
  token
end