Skip to content

Commit 1069633

Browse files
committed
fix: restore unmasked licenseKey in API response (needed for license server communication)
1 parent 4061cfd commit 1069633

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/controllers/license.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ module.exports = ({ strapi }) => ({
8282
valid: verification.valid,
8383
demo: false,
8484
data: {
85-
licenseKey: licenseKey ? licenseKey.substring(0, 8) + '...' + licenseKey.substring(licenseKey.length - 4) : null,
85+
licenseKey,
8686
email: license?.email || null,
8787
firstName: license?.firstName || null,
8888
lastName: license?.lastName || null,

0 commit comments

Comments
 (0)