Skip to content

Commit

Permalink
Fix bug in template
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcialRosales committed Aug 10, 2023
1 parent dc671e0 commit a2fb08a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/rabbitmq_management/priv/www/js/tmpl/login_oauth.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<h2>OAuth 2.0</h2>
<div class="hider"><div class="updatable">
<% if (resource_servers.length == 1) { %>
<button id="loginWindow" onclick="oauth_initiateLogin('<%=resource_servers[0].id%>')">Click here to log in</button>
<button id="login" onclick="oauth_initiateLogin('<%=resource_servers[0].id%>')">Click here to log in</button>
<% } else { %>
<form onsubmit="oauth_initiateLogin(document.getElementById('oauth2-resource').value)">
<label for="oauth2-resource">Resource:</label>
Expand Down

0 comments on commit a2fb08a

Please sign in to comment.