Checkpoint audio-only Skald fork work
This commit is contained in:
@@ -24,9 +24,9 @@ document.getElementById('passwordform').onsubmit = async function(e) {
|
||||
e.preventDefault();
|
||||
|
||||
let parms = new URLSearchParams(window.location.search);
|
||||
let group = parms.get('group');
|
||||
if(!group) {
|
||||
displayError("Couldn't determine group");
|
||||
let hall = parms.get('hall');
|
||||
if(!hall) {
|
||||
displayError("Couldn't determine hall");
|
||||
return;
|
||||
}
|
||||
let user = parms.get('username');
|
||||
@@ -44,7 +44,7 @@ document.getElementById('passwordform').onsubmit = async function(e) {
|
||||
}
|
||||
|
||||
try {
|
||||
await setPassword(group, user, false, new1, old);
|
||||
await setPassword(hall, user, false, new1, old);
|
||||
document.getElementById('old').value = '';
|
||||
document.getElementById('new1').value = '';
|
||||
document.getElementById('new2').value = '';
|
||||
|
||||
Reference in New Issue
Block a user