[openstreetmap/openstreetmap-website] Facebook deletion callback (PR #7093)
Tom Hughes
notifications at github.com
Thu Jul 9 17:28:34 UTC 2026
@tomhughes commented on this pull request.
> @@ -233,9 +233,16 @@
get "/forgot-password.html", :to => redirect(:path => "/user/forgot-password")
# omniauth
- get "/auth/failure" => "users#auth_failure"
- match "/auth/:provider/callback" => "users#auth_success", :via => [:get, :post], :as => :auth_success
- match "/auth/:provider" => "users#auth", :via => [:post, :patch], :as => :auth
+ scope "/auth", :as => :auth do
+ get "/failure" => "users#auth_failure"
+
+ scope ":provider" do
+ match "/callback" => "users#auth_success", :via => [:get, :post], :as => :success
+ match "" => "users#auth", :via => [:post, :patch]
+
+ resource :delete, :only => [:show, :create], :module => "accounts", :controller => "auth_deletions"
I've made that change now.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7093#discussion_r3553561033
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/7093/review/4665303259 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260709/ea38d70c/attachment-0001.htm>
More information about the rails-dev
mailing list