[openstreetmap/openstreetmap-website] Remove legacy OpenID login (PR #6038)
Tom Hughes
notifications at github.com
Sun May 25 18:27:11 UTC 2025
@tomhughes commented on this pull request.
> @@ -24,9 +24,8 @@
:include_blank => t("auth.providers.none"),
:hide_label => true,
:wrapper => { :class => "col-auto mb-0" } %>
- <%= f.text_field(:auth_uid, :hide_label => true, :wrapper => { :class => "col mb-0" }) %>
+ <%= f.hidden_field(:auth_uid, :hide_label => true, :wrapper => { :class => "col mb-0" }) %>
I suspect we don't actually need this field any more - it was only there to allow the UID to be edited when OpenID was in use and for other methods users shouldn't be changing the UID so I think just leaving it out will be fine.
We would need to change the `update` method in `AccountsController` to stop comparing the uid for equality and then including it in the redirect but we probably want to do the second part anyway as it's only there for openid.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6038#pullrequestreview-2866914841
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6038/review/2866914841 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250525/c69274c6/attachment.htm>
More information about the rails-dev
mailing list