1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

Desktop, Clipper: Web Clipper now must request authorisation before accessing the application data

This commit is contained in:
Laurent Cozic
2021-06-22 19:57:04 +01:00
parent 638b3236cf
commit 67d9977489
19 changed files with 403 additions and 82 deletions

View File

@@ -9,10 +9,10 @@ const { customAlphabet } = require('nanoid/non-secure');
const nanoid = customAlphabet('0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz', 22);
export default {
create: function() {
create: function(): string {
return createUuidV4().replace(/-/g, '');
},
createNano: function() {
createNano: function(): string {
return nanoid();
},
};