lib/authpds-nyu/session.rb in authpds-nyu-0.0.8 vs lib/authpds-nyu/session.rb in authpds-nyu-0.0.9
- old
+ new
@@ -61,10 +61,10 @@
login_inaccessible_url "http://library.nyu.edu/errors/login-library-nyu-edu/"
end
end
# Override logout url for NYU.
- def logout_url
+ def logout_url(params={})
return "#{self.class.pds_url}/logout?url=#{CGI::escape(controller.user_session_redirect_url(self.class.redirect_logout_url))}"
end
def aleph_bor_auth_permissions(bor_id=nil, verification=nil, adm=nil, sublibrary=nil)
bor_auth = aleph_bor_auth(bor_id, verification, adm, sublibrary)
\ No newline at end of file