mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 07:54:40 +03:00
change "mox setaccountpassword" to use an account name as parameter, not email address
because with the name you would expect an account name. and the email-resolving behaviour is surprising: with wildcard addresses you can use any address, including a typo. you would change the password of the address with the wildcard, without any warning. accounts are more precise and less error-prone. for issue #68 by x8x
This commit is contained in:
@ -61,7 +61,7 @@ func TestCtl(t *testing.T) {
|
||||
|
||||
// "setaccountpassword"
|
||||
testctl(func(ctl *ctl) {
|
||||
ctlcmdSetaccountpassword(ctl, "mjl@mox.example", "test4321")
|
||||
ctlcmdSetaccountpassword(ctl, "mjl", "test4321")
|
||||
})
|
||||
|
||||
err := queue.Init()
|
||||
|
Reference in New Issue
Block a user