dont expect money from deleted users :-)
This commit is contained in:
parent
fe2ca0f33a
commit
6e0c594c84
@ -151,6 +151,9 @@ impl User {
|
|||||||
if !self.has_role(db, "Donau Linz").await {
|
if !self.has_role(db, "Donau Linz").await {
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
if self.deleted {
|
||||||
|
return None;
|
||||||
|
}
|
||||||
|
|
||||||
let mut fee = Fee::new();
|
let mut fee = Fee::new();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user