Skip to content

Commit

Permalink
adding variables for secrets.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nnunn committed Nov 21, 2018
1 parent 0ade5ce commit 78f3d3d
Show file tree
Hide file tree
Showing 1,094 changed files with 185 additions and 51,966 deletions.
4 changes: 2 additions & 2 deletions app/controllers/profiles_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ class ProfilesController < ApplicationController
:rcrf => "Research & Collections Resource Facility", :press => "Ring House 2", :rutherford => "Rutherford",
:stjosephs => "St. Joseph's Library", :winspear => "Winspear Library" }

# You'll have to define "profilesEditPassword" in secrets.yml, or this will fail. Thanks, ansible.
http_basic_authenticate_with name: Rails.application.secrets.profiles_edit_user, password: Rails.application.secrets.profiles_edit_password, except: [:index, :show]
# You'll have to define "cmsPassword" in secrets.yml, or this will fail. Thanks, ansible.
http_basic_authenticate_with name: Rails.application.secrets.cms_user, password: Rails.application.secrets.cms_password, except: [:index, :show]

def index
path = request.url
Expand Down
4 changes: 2 additions & 2 deletions config/initializers/comfortable_mexican_sofa.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@

# Default credentials for ComfortableMexicanSofa::AccessControl::AdminAuthentication
# YOU REALLY WANT TO CHANGE THIS BEFORE PUTTING YOUR SITE LIVE
ComfortableMexicanSofa::AccessControl::AdminAuthentication.username = "ualibraries"
ComfortableMexicanSofa::AccessControl::AdminAuthentication.password = "discoverthi5"
ComfortableMexicanSofa::AccessControl::AdminAuthentication.username = Rails.application.secrets.cms_user
ComfortableMexicanSofa::AccessControl::AdminAuthentication.password = Rails.application.secrets.cms_password

# Uncomment this module and `config.admin_auth` above to use custom admin authentication
# module ComfyAdminAuthentication
Expand Down
2 changes: 0 additions & 2 deletions db/cms_seeds/lib-cms-seeds/categories/pages.yml

This file was deleted.

2 changes: 0 additions & 2 deletions db/cms_seeds/lib-cms-seeds/categories/snippets.yml

This file was deleted.

7 changes: 0 additions & 7 deletions db/cms_seeds/lib-cms-seeds/layouts/french-home/content.html

This file was deleted.

Empty file.
Empty file.
12 changes: 0 additions & 12 deletions db/cms_seeds/lib-cms-seeds/layouts/home/content.html

This file was deleted.

Empty file.

This file was deleted.

Empty file.

This file was deleted.

This file was deleted.

Empty file.
Empty file.

This file was deleted.

Empty file.
Empty file.

This file was deleted.

Empty file.
Empty file.

This file was deleted.

This file was deleted.

Empty file.
Empty file.

This file was deleted.

This file was deleted.

Empty file.

This file was deleted.

Empty file.
Empty file.
Empty file.
Loading

0 comments on commit 78f3d3d

Please sign in to comment.