mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Scope the cn to the subfolder
This commit is contained in:
@@ -257,7 +257,9 @@ class ApplicationController < ActionController::Base
|
||||
Notification.read(current_user, notification_ids)
|
||||
current_user.reload
|
||||
current_user.publish_notifications_state
|
||||
cookies.delete('cn')
|
||||
cookie_args = {}
|
||||
cookie_args[:path] = Discourse.base_uri if Discourse.base_uri.present?
|
||||
cookies.delete('cn', cookie_args)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user