mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-10-27 04:46:06 +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
|
// Validate changes
|
||||||
for change in &changes {
|
for change in &changes {
|
||||||
match change.field {
|
match change.field {
|
||||||
PrincipalField::Secrets => {
|
PrincipalField::Secrets
|
||||||
self.assert_supported_directory(false)?;
|
| PrincipalField::Name
|
||||||
}
|
|
||||||
PrincipalField::Name
|
|
||||||
| PrincipalField::Emails
|
| PrincipalField::Emails
|
||||||
| PrincipalField::Quota
|
| PrincipalField::Quota
|
||||||
| PrincipalField::UsedQuota
|
| PrincipalField::UsedQuota
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue