Skip to content

Commit 31e9a0d

Browse files
committed
Merge branch 'main' into feat/add-charging-target-inputs-improvements
2 parents 4cdd315 + e4501ec commit 31e9a0d

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
@@ -66,7 +66,7 @@ function createStore(request) {
6666
if (!userEncryptionKey) {
6767
request.log.info({ plugin: 'encrypted-session' }, 'user-side encryption key not found, creating new one');
6868

69-
userEncryptionKey = generateSecureEncryptionKey();
69+
userEncryptionKey = generateSecureEncryptionKey().toString('base64');
7070
setUserEncryptionKeyIntoUserCookie(request, userEncryptionKey);
7171
}
7272

0 commit comments

Comments
 (0)