Debug-Logging entfernt
This commit is contained in:
parent
304971502d
commit
01f913ef2f
|
@ -47,8 +47,6 @@ const registerUser = async (req, res) => {
|
||||||
// Loginfunktion
|
// Loginfunktion
|
||||||
const loginUser = async (req, res) => {
|
const loginUser = async (req, res) => {
|
||||||
const { email, password } = req.body;
|
const { email, password } = req.body;
|
||||||
console.log(req.body);
|
|
||||||
console.log(email, password);
|
|
||||||
try {
|
try {
|
||||||
// Überprüfen, ob der Benutzer existiert
|
// Überprüfen, ob der Benutzer existiert
|
||||||
const user = await pool.query("SELECT * FROM Users WHERE email = $1", [
|
const user = await pool.query("SELECT * FROM Users WHERE email = $1", [
|
||||||
|
|
Loading…
Reference in New Issue