mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
fix: pass token to password field
This commit is contained in:
@@ -18,7 +18,7 @@ const enterCallbackTokenIntoField = (token: string) => {
|
||||
console.warn('Could not find form, username, or password field');
|
||||
} else {
|
||||
usernameField.value = 'root';
|
||||
passwordField.value = 'password';
|
||||
passwordField.value = token;
|
||||
// Submit the form
|
||||
form.requestSubmit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user