-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How add login credentials #5
Comments
@josephjosedev do you mean login credentials for running locally or using hosted version of app at |
locally ,here we can only see login option |
@josephjosedev unfortunaetly i manually insert one initial admin data into database, and add another afterwards. It's my old project so .. |
what you can do is manually do so, as i 'm using bcrypt library with round 10. you can manually put console after this line const salt = await bcrypt.genSalt(10)
const hashedPassword = await bcrypt.hash(user.password, salt)
console.log(hashedPassword) // put this so that it will display |
hi how to add login credentials
The text was updated successfully, but these errors were encountered: