mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Configure OSEM via environment variables
Instead of reading a yaml file we get configuration from the environment.
This commit is contained in:
parent
45c31f210f
commit
ebcb2780cd
17 changed files with 39 additions and 34 deletions
|
|
@ -1,4 +1,4 @@
|
|||
- unless CONFIG['authentication']['ichain']['enabled']
|
||||
- unless ENV['OSEM_ICHAIN_ENABLED'] == 'true'
|
||||
%li
|
||||
= link_to(edit_user_registration_path) do
|
||||
%span.fa.fa-wrench
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
%span.fa.fa-comment
|
||||
My Submissions
|
||||
%li
|
||||
- if CONFIG['authentication']['ichain']['enabled']
|
||||
- if ENV['OSEM_ICHAIN_ENABLED'] == 'true'
|
||||
= link_to(destroy_user_ichain_session_path, :method=>'delete') do
|
||||
%span.fa.fa-minus
|
||||
Sign out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue