mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
check verify
This commit is contained in:
@ -76,6 +76,8 @@ exports.readLicense = function*() {
|
||||
|
||||
res.light = (true === oLicense['light'] || 'true' === oLicense['light']); // Someone who likes to put json string instead of bool
|
||||
res.branding = (true === oLicense['branding'] || 'true' === oLicense['branding']); // Someone who likes to put json string instead of bool
|
||||
} else {
|
||||
throw 'verify';
|
||||
}
|
||||
} catch (e) {
|
||||
res.count = 1;
|
||||
|
||||
Reference in New Issue
Block a user