Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Commit

Permalink
Fix compatibility with Ruby > 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
pencil committed Jul 9, 2013
1 parent d17c1e6 commit 55e9c9b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
ActionDispatch::Callbacks.before do
RedmineCAS.setup!
end
end
end
2 changes: 1 addition & 1 deletion lib/redmine_cas.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ def user_extra_attributes_from_session(session)
end
attrs
end
end
end
2 changes: 1 addition & 1 deletion lib/redmine_cas/account_controller_patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ def logout_with_cas
end
end
end
end
end
4 changes: 2 additions & 2 deletions lib/redmine_cas/application_controller_patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def login_with_cas
else
self.logged_user = user
end
redirect_to url_for(params.merge(ticket: nil))
redirect_to url_for(params.merge(:ticket => nil))
else
# CASClient called redirect_to
end
Expand All @@ -53,4 +53,4 @@ def cas_user_not_found
end
end
end
end
end

2 comments on commit 55e9c9b

@priyashree
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am using this plugin, but SSO is not working. I logged in one portal, but when I open Redmine, its not getting any user information.

@pencil
Copy link
Contributor Author

@pencil pencil commented on 55e9c9b Jul 9, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@priyashree Did you configure the plugin? Did you activate "Authentication required" in your Redmine installation (see README)?

Please sign in to comment.