diff --git a/src/ui/login-form-ui-handler.ts b/src/ui/login-form-ui-handler.ts index 4919095c8a4..d3c3663ec4b 100644 --- a/src/ui/login-form-ui-handler.ts +++ b/src/ui/login-form-ui-handler.ts @@ -248,10 +248,10 @@ export default class LoginFormUiHandler extends FormModalUiHandler { if (dataKeys.length > 0 || sessionKeys.length > 0) { const zip = new JSZip(); for (let i = 0; i < dataKeys.length; i++) { - zip.file(dataKeys[i], localStorage.getItem(dataKeys[i])!); + zip.file(dataKeys[i] + ".prsv", localStorage.getItem(dataKeys[i])!); } for (let i = 0; i < sessionKeys.length; i++) { - zip.file(sessionKeys[i], localStorage.getItem(sessionKeys[i])!); + zip.file(sessionKeys[i] + ".prsv", localStorage.getItem(sessionKeys[i])!); } zip.generateAsync({ type: "blob" }).then(content => { const url = URL.createObjectURL(content);