the "Get a Hint" info is no use, in "registration-of-new-users" challenges
See original GitHub issueAffected page
click “Get a Hint” button will to url https://forum.freecodecamp.org/t/freecodecamp-challenge-guide-registration-of-new-users/301561
but hint info is no use, I change it ,but I can not pass challenges
at the end I write is to pass challenges
app.route('/register')
.post((req, res, next) => {
myDataBase.findOne({ username: req.body.username }, function(err, user) {
const hash = bcrypt.hashSync(req.body.password, 12);
if (err) {
next(err);
} else if (user) {
res.redirect('/');
} else {
myDataBase.insertOne({
username: req.body.username,
password: hash
},
(err, doc) => {
if (err) {
res.redirect('/');
} else {
// The inserted document is held within
// the ops property of the doc
next(null, doc.ops[0]);
}
}
)
}
})
},
passport.authenticate('local', { failureRedirect: '/' }),
(req, res, next) => {
res.redirect('/profile');
}
);
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
30 tips for signup flows (so that users stop cursing you)
Tell users what they're getting out of registering on your website. Because no one wants to do this. So you have to tell...
Read more >Register the password reset verification method for a work or ...
Important: This article is intended for users trying to use sign up for self-service password reset. This means that you'll be able to...
Read more >reCAPTCHA v3 - Google Developers
reCAPTCHA v3 returns a score for each request without user friction. The score is based on interactions with your site and enables you...
Read more >Did You Get Unemployment Compensation During the ...
Go to “Sign In/Register.” If you did not previously register for an account online, create a new user account. But if you had...
Read more >Before You Register - Drug & Alcohol Clearinghouse
Authorized users must register to request access to information in the Clearinghouse. Select a user role below to review what you will need...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

To elaborate what @ieahleen mentioned:
Thanks again for your reports and feedback.
@miyaliu666 the hints are a forum post, to suggest changes to the guild you can open a thread in the forum