[openstreetmap/openstreetmap-website] Allow registration of OAuth 1.0 applications to be disabled (PR #4500)
Tom Hughes
notifications at github.com
Wed Jan 31 19:29:22 UTC 2024
@tomhughes commented on this pull request.
> @@ -19,7 +19,11 @@ def show
end
def new
- @client_application = ClientApplication.new
+ if Settings.oauth_10_registration
+ @client_application = ClientApplication.new
+ else
+ redirect_to :action => "index"
I've added the flash message - as you say I didn't bother with `:create` because you'd have to try really hard and this is only going to be short lived.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4500#discussion_r1473363973
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4500/review/1854659981 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240131/74e76a33/attachment.htm>
More information about the rails-dev
mailing list