diff --git a/app/controllers/concerns/authentication.rb b/app/controllers/concerns/authentication.rb index 53bb79564..f99af0083 100644 --- a/app/controllers/concerns/authentication.rb +++ b/app/controllers/concerns/authentication.rb @@ -18,9 +18,9 @@ module Authentication end def allow_unauthenticated_access(**options) - @unauthenticated_access_allowed = true skip_before_action :require_authentication, **options before_action :resume_session, **options + allow_unauthorized_access **options end def disallow_account_scope(**options)