Skip to content

Commit

Permalink
[webui] Don't use Configuration.first UnregisteredUser
Browse files Browse the repository at this point in the history
  • Loading branch information
hennevogel committed Mar 3, 2014
1 parent beb28ce commit 9e3271e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/models/unregistered_user.rb
Expand Up @@ -18,7 +18,7 @@ def self.can_register?
if CONFIG['proxy_auth_register_page'].blank?
raise ErrRegisterSave.new "Sorry, please sign up using the authentification proxy"
else
raise ErrRegisterSave.new "Sorry, please sign up using #{::Configuration.first.proxy_auth_register_page}"
raise ErrRegisterSave.new "Sorry, please sign up using #{CONFIG['proxy_auth_register_page']}"
end
end
# Turn off registration if its disabled
Expand Down

0 comments on commit 9e3271e

Please sign in to comment.