Project

General

Profile

« Previous | Next » 

Revision 9a1f72f4

Added by Eric Helms over 10 years ago

Fixes #3753 - always use main_app to determine paths for running an isolated namespace plugin

View differences:

app/services/sso/base.rb
# Override this value on SSO objects to redirect your users to a custom auth path
def login_url
controller.login_users_path
controller.main_app.login_users_path
end
# don't forget to implement expiration_url method if your SSO method changes this to true
......
def authenticate!
raise NotImplementedError, "#{__method__} not implemented for this authentication method"
end
end
end

Also available in: Unified diff