mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
remove unwanted log
This commit is contained in:
parent
08928cdae9
commit
0105d79977
@ -324,7 +324,6 @@ export default class UserController extends Controller {
|
|||||||
post = {
|
post = {
|
||||||
"/login": async (req, res) => {
|
"/login": async (req, res) => {
|
||||||
passport.authenticate("local", { session: false }, async (error, user, options) => {
|
passport.authenticate("local", { session: false }, async (error, user, options) => {
|
||||||
console.log(error, user, options)
|
|
||||||
if (error) {
|
if (error) {
|
||||||
return res.status(500).json(`Error validating user > ${error.message}`)
|
return res.status(500).json(`Error validating user > ${error.message}`)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user