forked from e621ng/e621ng
[Takedowns] Fix vericode for frozen string literals
Will add some tests later
This commit is contained in:
parent
2c41373304
commit
a3a508c92c
@ -37,11 +37,11 @@ class Takedown < ApplicationRecord
|
||||
pass = ""
|
||||
|
||||
4.times do
|
||||
pass << consonants[rand(21), 1]
|
||||
pass << vowels[rand(5), 1]
|
||||
pass += consonants[rand(21), 1]
|
||||
pass += vowels[rand(5), 1]
|
||||
end
|
||||
|
||||
pass << rand(100).to_s
|
||||
pass += rand(100).to_s
|
||||
pass
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user