]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/auth_providers.js
Merge remote-tracking branch 'upstream/pull/4993'
[rails.git] / app / assets / javascripts / auth_providers.js
index 3dd7601a088686c124f3b3ef170028b5ba099351..fe0a4fdce4b4f8893b72ed78b35e7046f025e740 100644 (file)
@@ -10,13 +10,10 @@ $(document).ready(function () {
 
   // Add click handler to show OpenID field
   $("#openid_open_url").click(function () {
-    $("#openid_url").val("http://");
-    $("#login_auth_buttons").hide().removeClass("d-flex");
-    $("#login_openid_url").show();
-    $("#openid_login_button").show();
+    $("#login_auth_buttons").hide();
+    $("#openid_login_form").show();
   });
 
   // Hide OpenID field for now
-  $("#login_openid_url").hide();
-  $("#openid_login_button").hide();
+  $("#openid_login_form").hide();
 });