From d32dcd8ca73f19bb292b5fa0515bae915e3bcc9c Mon Sep 17 00:00:00 2001
From: rudrabjoshi Personal Information
Selection Failed
const uidInput = document.getElementById("uidChangeInput");
const emailInput = document.getElementById("emailChangeInput");
const sidInput = document.getElementById("sidChangeInput");
- const passwordInput = document.getElementById("password");
const kasmInput = document.getElementById("kasmChangeInput");
const schoolInput = document.getElementById("schoolChangeInput");
@@ -1326,7 +1322,6 @@ Selection Failed
const uid = uidInput.value.trim();
const email = emailInput.value.trim();
const sid = sidInput.value.trim();
- const password = passwordInput.value.trim();
const kasmServerNeeded = kasmInput ? kasmInput.checked : undefined;
const school = schoolInput.value;
@@ -1422,26 +1417,6 @@ Selection Failed
}
}
- // save password (both backends, logs out)
- if (password) {
- try {
- await Promise.all([
- putUpdate({
- URL: pythonURI + "/api/user",
- body: { password },
- message: 'password-message'
- }),
- postUpdate({
- URL: javaURI + "/api/person/update",
- body: { password }
- })
- ]);
- needsLogout = true;
- } catch (e) {
- console.error("error saving password:", e.message);
- }
- }
-
// save kasm server status (both backends)
if (
typeof kasmServerNeeded !== "undefined" &&
@@ -1511,7 +1486,7 @@ Selection Failed
// handle reload or logout if needed
if (needsLogout) {
- alert("you updated your github id or password, so you will be logged out. remember your new credentials!");
+ alert("you updated your github id, so you will be logged out. remember your new credentials!");
window.location.href = '{{site.baseurl}}';
} else if (needsReload) {
window.location.reload();
diff --git a/navigation/authentication/login.md b/navigation/authentication/login.md
index 296da6aede..8ecbd81302 100644
--- a/navigation/authentication/login.md
+++ b/navigation/authentication/login.md
@@ -25,6 +25,9 @@ show_reading_time: false