updated mailbox app password

This commit is contained in:
2026-08-13 07:03:40 +01:00
parent 70fa1a5f2c
commit 70c05cc777
21 changed files with 618 additions and 33 deletions
+3 -3
View File
@@ -61,7 +61,7 @@ func TestMailboxAppPasswordCanSendAsPrimaryButNotArbitraryAddress(t *testing.T)
if err != nil {
t.Fatal(err)
}
if _, err := backend.DB.CreateAppPassword(mailboxID, "test", hash); err != nil {
if _, err := backend.DB.CreateAppPassword(mailboxID, "test", hash, nil); err != nil {
t.Fatal(err)
}
addr := startTestServer(t, backend)
@@ -104,7 +104,7 @@ func TestMailboxAppPasswordCanSendAsEnabledAlias(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if _, err := backend.DB.CreateAppPassword(mailboxID, "test", hash); err != nil {
if _, err := backend.DB.CreateAppPassword(mailboxID, "test", hash, nil); err != nil {
t.Fatal(err)
}
addr := startTestServer(t, backend)
@@ -131,7 +131,7 @@ func TestMailboxAppPasswordCannotSendAsReceiveOnlyAlias(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if _, err := backend.DB.CreateAppPassword(mailboxID, "test", hash); err != nil {
if _, err := backend.DB.CreateAppPassword(mailboxID, "test", hash, nil); err != nil {
t.Fatal(err)
}
addr := startTestServer(t, backend)