Migration UI complete.

This commit is contained in:
rainbow napkin 2025-10-16 21:22:37 -04:00
parent eb48b92551
commit 6bab5b4723
9 changed files with 45 additions and 14 deletions

View file

@ -18,6 +18,7 @@ class migratePrompt{
constructor(){
//Grab user prompt
this.user = document.querySelector("#migrate-username");
this.user.value = window.location.search.replace("?user=",'');
//Grab pass prompts
this.oldPass = document.querySelector("#migrate-password-old");
this.pass = document.querySelector("#migrate-password");
@ -37,6 +38,8 @@ class migratePrompt{
//Add verification event listener to altcha widget
this.altcha.addEventListener("verified", this.verify.bind(this));
console.log(this.button);
//Add migrate event listener to migrate button
this.button.addEventListener("click", this.migrate.bind(this));
}