Thank you. I tried it but nothing.
I did ./nodebb build after the reset and it is ok again. Panic over.
Much appreciated as always. Sorry for noobness.
Sampo.
Why "local login" take 13s to process? Is this a bug?
Version v1.2.1, using mongodb, new setup without much plugins.
Please advise, thanks.
Yes, I should've mentioned (@pichalite brought me back here), you can also replace our use of bcryptjs with bcrypt.
npm i bcrypt
and then edit the bcrypt.js
file in NodeBB and change
var bcrypt = require('bcryptjs'),
to read
var bcrypt = require('bcrypt'),
Restart NodeBB and try again.
@julian said in Local login take a long time...:
var bcrypt = require('bcryptjs')
Many thanks @julian and guys, you save my day. It is working now, reduce to ~700ms.