mssql remaps a user only when orphaned; mailu's operator tool no longer re-enables
ALTER USER ... WITH LOGIN runs only when the user's SID is not the login's, so an already-mapped user is left alone. The provisioner enables a mailbox through its own method; the password tool an operator uses keeps changing the password only.
This commit is contained in:
@@ -48,7 +48,7 @@ runProvisioner("smtp", {
|
||||
try {
|
||||
await mailu.createUser(email, p.password);
|
||||
} catch {
|
||||
await mailu.changePassword(email, p.password);
|
||||
await mailu.applyProvisioned(email, p.password);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user