Skip to content

Commit 586f82a

Browse files
Merge branch 'main' into feat/make-embeddable
2 parents 031b486 + e4501ec commit 586f82a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/encrypted-session.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function createStore(request) {
6868
if (!userEncryptionKey) {
6969
request.log.info({ plugin: 'encrypted-session' }, 'user-side encryption key not found, creating new one');
7070

71-
userEncryptionKey = generateSecureEncryptionKey();
71+
userEncryptionKey = generateSecureEncryptionKey().toString('base64');
7272
setUserEncryptionKeyIntoUserCookie(request, userEncryptionKey);
7373
}
7474

0 commit comments

Comments
 (0)