diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 62f6e378c..6e286d5c6 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,6 +1,7 @@ class ApplicationController < ActionController::Base protect_from_forgery helper :pagination + before_filetr :reset_current_user before_filter :set_current_user after_filter :reset_current_user before_filter :set_title diff --git a/app/views/users/_statistics.html.erb b/app/views/users/_statistics.html.erb index 5f7bbce5b..a6106a76f 100644 --- a/app/views/users/_statistics.html.erb +++ b/app/views/users/_statistics.html.erb @@ -112,7 +112,7 @@ <% if CurrentUser.user.id == user.id %> API Key - <%= CurrentUser.user.bcrypt_cookie_password_hash %> +

Temporarily disabled

<%#= CurrentUser.user.bcrypt_cookie_password_hash %> <% end %>