
any idea what we make wrong?
thanks for help
node update to 12.18.4 we have make... same problem...
-------- 9/17/2020, 10:31:51 AM ---- 0.6.39 --------
c:\meshcentral\node_modules\meshcentral\webserver.js:727
if (token.startsWith('cookie=')) {
^
TypeError: Cannot read property 'startsWith' of undefined
at checkUserOneTimePassword (c:\meshcentral\node_modules\meshcentral\webserver.js:727:19)
at c:\meshcentral\node_modules\meshcentral\webserver.js:937:21
at c:\meshcentral\node_modules\meshcentral\webserver.js:599:36
at AsyncWrap.
at AsyncWrap.wrap.ondone (internal/crypto/pbkdf2.js:36:48)
===========================================
Note Same problem on node 14.11.0
NOTE: Upon Pressing Login, Crash and above error is generated in:
-Chrome
-Edge
-Firefox
-IE
DOES NOT OCCUR:
-Opera
It looks like a bug. It should be:
if (token!=null && token.startsWith('cookie=')) {
it seems we need to work better on sanitizing the code from null or undefined variables more.
Exactly. Just rolled back to v0.6.38 until I can fix this.
Published MeshCentral v0.6.40 with a fix for this.
Seems to be working now on .40! thanks guys
works - thanks a lot! great work!
Most helpful comment
Seems to be working now on .40! thanks guys