Commit a4e1062fa1c00a05b4f56e20cbfae019ab0ed669
1 parent
f0dddf43
Exists in
master
change to call `fail!` properly in omni auth 1.1.4
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/omniauth/strategies/env.rb
@@ -11,7 +11,7 @@ module OmniAuth | @@ -11,7 +11,7 @@ module OmniAuth | ||
11 | def request_phase | 11 | def request_phase |
12 | @user_data = {} | 12 | @user_data = {} |
13 | @uid = env['HTTP_REMOTE_USER'] | 13 | @uid = env['HTTP_REMOTE_USER'] |
14 | - return fail![:no_user] unless @uid | 14 | + return fail!(:no_user) unless @uid |
15 | 15 | ||
16 | fill_ldap_info unless @options.empty? | 16 | fill_ldap_info unless @options.empty? |
17 | 17 |