mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-11-01 18:47:52 +00:00
Finish storing the user quota to redis
This commit is contained in:
@@ -260,7 +260,7 @@ class User(Base, Email):
|
||||
|
||||
@property
|
||||
def quota_bytes_used(self):
|
||||
return quota.get(self.email) or 0
|
||||
return quota.get(self.email + "/quota/storage") or 0
|
||||
|
||||
scheme_dict = {'SHA512-CRYPT': "sha512_crypt",
|
||||
'SHA256-CRYPT': "sha256_crypt",
|
||||
|
||||
Reference in New Issue
Block a user