Logins JS Cleanup

- Remove old JS
- Standardize generate password JS style to match existing
- Move JS functions to own files
This commit is contained in:
Marcus Hill
2024-01-22 21:25:21 +00:00
parent 4e0c7230f3
commit ba0917e142
4 changed files with 36 additions and 58 deletions

View File

@@ -333,7 +333,7 @@ if (isset($_GET['share_generate_link'])) {
'body' => $body
]
];
$mail = addToMailQueue($mysqli, $data);
if ($mail !== true) {
@@ -499,5 +499,5 @@ if (isset($_GET['get_totp_token_via_id'])) {
}
if (isset($_GET['get_readable_pass'])) {
echo GenerateReadablePassword(4);
echo json_encode(GenerateReadablePassword(4));
}