@tiledesk/tiledesk-server 2.7.5 → 2.7.6
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +3 -0
- package/package.json +1 -1
- package/routes/auth.js +1 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/routes/auth.js
CHANGED
@@ -36,7 +36,7 @@ if (pKey) {
|
|
36
36
|
let pubConfigSecret = process.env.GLOBAL_SECRET || config.secret;
|
37
37
|
var pubKey = process.env.GLOBAL_SECRET_OR_PUB_KEY;
|
38
38
|
if (pubKey) {
|
39
|
-
pubConfigSecret =
|
39
|
+
pubConfigSecret = pubKey.replace(/\\n/g, '\n');
|
40
40
|
}
|
41
41
|
|
42
42
|
var recaptcha = require('../middleware/recaptcha');
|