mirror of
https://github.com/HeyPuter/puter.git
synced 2026-01-10 07:01:51 -06:00
fix: don't encrypt session UUID if there isn't one
This commit is contained in:
@@ -220,7 +220,7 @@ class AuthService extends BaseService {
|
||||
version: '0.0.0',
|
||||
user_uid: actor_type.user.uuid,
|
||||
app_uid,
|
||||
session: this.uuid_fpe.encrypt(actor_type.session),
|
||||
...(actor_type.session ? { session: this.uuid_fpe.encrypt(actor_type.session) } : {}),
|
||||
},
|
||||
this.global_config.jwt_secret,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user