lib/authpds-nyu/session.rb in authpds-nyu-0.0.2 vs lib/authpds-nyu/session.rb in authpds-nyu-0.0.3
- old
+ new
@@ -34,10 +34,10 @@
alias_method :aleph_default_sublibrary=, :aleph_default_sublibrary
end
module AuthpdsCallbackMethods
def pds_record_identifier
- (pds_user.opensso.nil?) ? pds_user.id : pds_user.uid
+ (pds_user.opensso.nil?) ? :id : :uid
end
def valid_sso_session?
begin
@valid_sso_session ||= AuthpdsNyu::Sun::Opensso.new(controller, self.class.opensso_url).is_valid?
\ No newline at end of file