mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-03 17:00:43 -04:00
Update auth_helper.rb
This commit is contained in:
1 parent
61ddf7378d
commit
138f8f2c2f
1 file changed
+1
-1
@@ -12,7 +12,7 @@ module AuthHelper
|
||||
|
||||
def require_user
|
||||
if !User.current.logged?
|
||||
unless session[:token].nil?
|
||||
unless session[:token]
|
||||
render :file => "public/401.html.erb", :status => :unauthorized, :layout =>true
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user