We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d233410 commit 37c833fCopy full SHA for 37c833f
1 file changed
app/controllers/reference_card_forms_controller.rb
@@ -84,6 +84,7 @@ def validate_recaptcha!
84
end
85
86
def require_admin!
87
+ authenticate!
88
@user_is_admin = current_user.role?(Role.stackpass_admin)
89
raise Error::ForbiddenError unless @user_is_admin
90
0 commit comments