Set correct login flow
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
20fde2335e
commit
1e8b9ef161
9 changed files with 34 additions and 43 deletions
11
polyculeconnect/static/scripts/index.js
Normal file
11
polyculeconnect/static/scripts/index.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
let connectorForm = document.getElementById("connectorform");
|
||||
|
||||
connectorForm.addEventListener("submit", (e) => {
|
||||
e.preventDefault();
|
||||
|
||||
let nextURL = new URL(window.location.href);
|
||||
let connectorName = document.getElementById("cname").value;
|
||||
nextURL.searchParams.append("connector_id", connectorName)
|
||||
|
||||
window.location.href = nextURL;
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue