removing logmein tokens when pw chang
This commit is contained in:
@@ -296,6 +296,7 @@ if (!isset($_SESSION["logged_in"]) || $_SESSION["logged_in"] !== true) {
|
|||||||
})
|
})
|
||||||
.then(data => {
|
.then(data => {
|
||||||
if (data.success) {
|
if (data.success) {
|
||||||
|
delete_all_logmein();
|
||||||
showSuccessModal('Password updated.');
|
showSuccessModal('Password updated.');
|
||||||
} else {
|
} else {
|
||||||
showErrorModal('Failed to update password. ' + data.message);
|
showErrorModal('Failed to update password. ' + data.message);
|
||||||
@@ -534,7 +535,7 @@ if (!isset($_SESSION["logged_in"]) || $_SESSION["logged_in"] !== true) {
|
|||||||
url += '&fmt_packed=1';
|
url += '&fmt_packed=1';
|
||||||
url += '&fmt_tpm=1';
|
url += '&fmt_tpm=1';
|
||||||
|
|
||||||
url += '&rpId=auth.jakach.com';
|
url += '&rpId=auth.jakach.ch';
|
||||||
|
|
||||||
url += '&userId=' + encodeURIComponent(ascii_to_hex('<?php echo($_SESSION["username"]);?>'));
|
url += '&userId=' + encodeURIComponent(ascii_to_hex('<?php echo($_SESSION["username"]);?>'));
|
||||||
url += '&userName=' + encodeURIComponent('<?php echo($_SESSION["username"]);?>');
|
url += '&userName=' + encodeURIComponent('<?php echo($_SESSION["username"]);?>');
|
||||||
|
|||||||
Reference in New Issue
Block a user