Merge pull request 'dont expect money from deleted users :-)' (#212) from staging into main
Reviewed-on: #212
This commit is contained in:
commit
ce2e4e5219
@ -151,6 +151,9 @@ impl User {
|
||||
if !self.has_role(db, "Donau Linz").await {
|
||||
return None;
|
||||
}
|
||||
if self.deleted {
|
||||
return None;
|
||||
}
|
||||
|
||||
let mut fee = Fee::new();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user