Browse Source

Username/Passwort ausgelagert

master
Christian Aust 1 year ago
parent
commit
a836cde25c
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      config/initializers/comfortable_mexican_sofa.rb

+ 2
- 3
config/initializers/comfortable_mexican_sofa.rb View File

@ -89,9 +89,8 @@ ComfortableMexicanSofa.configure do |config|
end
# Default credentials for ComfortableMexicanSofa::AccessControl::AdminAuthentication
# YOU REALLY WANT TO CHANGE THIS BEFORE PUTTING YOUR SITE LIVE
ComfortableMexicanSofa::AccessControl::AdminAuthentication.username = "username"
ComfortableMexicanSofa::AccessControl::AdminAuthentication.password = "password"
ComfortableMexicanSofa::AccessControl::AdminAuthentication.username = ENV.fetch('COMFY_USERNAME', 'username')
ComfortableMexicanSofa::AccessControl::AdminAuthentication.password = ENV.fetch('COMFY_PASSWORD', 'password')
# Uncomment this module and `config.admin_auth` above to use custom admin authentication
# module ComfyAdminAuthentication

Loading…
Cancel
Save