We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
登录出现异常
The text was updated successfully, but these errors were encountered:
信息再详细点吧
Sorry, something went wrong.
注册完之后 不必去激活吧!直接密码登录会失败
`const localStrategy = app.passport.authenticate('local', { successRedirect: '/', failureRedirect: '/signin', });
router.post('/passport/local', localStrategy);`
这个东西会跳转到失败
如果不想激活邮箱就登录的话要注释掉 /app.js 中的
if (!existUser.active) { // 发送激活邮件 return null; }
否则要配置邮件服务 /app/config/config.default.js
config.mail_opts = { host: 'smtp.126.com', port: 25, auth: { user: '[email protected]', pass: 'club' }, ignoreTLS: true };
No branches or pull requests
登录出现异常
The text was updated successfully, but these errors were encountered: