This instance will be upgraded to Heptapod 0.31.0rc on 2022-05-19 at 11:00 UTC+2 (a few minutes of down time)

Commit 5878d8c9 authored by Ash McKenzie's avatar Ash McKenzie
Browse files

Fix inconsistent random __auth_secret length

parent 9ff4f5d5b282
......@@ -230,7 +230,7 @@
string(:auth_client_id) { '' }
string(:auth_client_secret) { '' }
# random 32-byte string
string(:__auth_secret) { rand(36**32).to_s(36) }
string(:__auth_secret) { SecureRandom.alphanumeric(32) }
string(:__auth_redirect_uri) { "http://#{config.gitlab_pages.__uri}/auth" }
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment