dont sent deleted users a mail
This commit is contained in:
parent
58b498b9de
commit
d0b7f9c76c
@ -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
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user