mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-10-25 03:45:58 +08:00
Allow updating secrets for all directory types
This commit is contained in:
parent
a9fbfc2a8e
commit
0377cdb82e
1 changed files with 2 additions and 4 deletions
|
|
@ -574,10 +574,8 @@ impl PrincipalManager for Server {
|
|||
// Validate changes
|
||||
for change in &changes {
|
||||
match change.field {
|
||||
PrincipalField::Secrets => {
|
||||
self.assert_supported_directory(false)?;
|
||||
}
|
||||
PrincipalField::Name
|
||||
PrincipalField::Secrets
|
||||
| PrincipalField::Name
|
||||
| PrincipalField::Emails
|
||||
| PrincipalField::Quota
|
||||
| PrincipalField::UsedQuota
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue