mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 01:45:47 +01:00
remvoed console.logs
This commit is contained in:
@@ -193,9 +193,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
app.post('/register', function(req, res) {
|
app.post('/register', function(req, res) {
|
||||||
console.log('CALLING USER CREATE');
|
|
||||||
user.create(req.body.username, req.body.password, req.body.email, function(err, uid) {
|
user.create(req.body.username, req.body.password, req.body.email, function(err, uid) {
|
||||||
console.log('USER CREATE DONE', err, uid);
|
|
||||||
if (err === null && uid) {
|
if (err === null && uid) {
|
||||||
req.login({
|
req.login({
|
||||||
uid: uid
|
uid: uid
|
||||||
|
|||||||
Reference in New Issue
Block a user