Local login take a long time...
Solved
Technical Support
-
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 thebcrypt.js
file in NodeBB and changevar 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.
Copyright © 2024 NodeBB | Contributors