diff options
-rw-r--r-- | config/settings.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/settings.rb b/config/settings.rb index 58f38d103ea..925aa838544 100644 --- a/config/settings.rb +++ b/config/settings.rb @@ -93,7 +93,7 @@ class Settings < Settingslogic # # The default mode for the attr_encrypted gem is to use a 256-bit key. # We truncate the 128-byte string to 32 bytes. - Gitlab::Application.secrets.db_key_base[0..31] + Gitlab::Application.secrets.db_key_base end private |