dont sent deleted users a mail

This commit is contained in:
philipp 2024-02-15 22:29:08 +01:00
parent 58b498b9de
commit d0b7f9c76c

View File

@ -51,7 +51,7 @@ WHERE name like ?
FROM user u
JOIN user_role ur ON u.id = ur.user_id
JOIN role r ON ur.role_id = r.id
WHERE r.id = {}",
WHERE r.id = {} AND deleted=0;",
self.id
);