This commit is contained in:
2026-08-17 21:20:45 +02:00
parent 321f11e817
commit 6fcdc74843
157 changed files with 2895 additions and 7544 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ import (
func TestSetPasswordInviteURL(t *testing.T) {
t.Setenv("WEB_ORIGIN", "https://app.example.com/")
got := setPasswordInviteURL("tok+1")
wantPrefix := "https://app.example.com/accept-invite?token="
wantPrefix := "https://app.example.com/accept-invite#token="
if !strings.HasPrefix(got, wantPrefix) {
t.Fatalf("got %q", got)
}
@@ -31,4 +31,4 @@ func TestWebOriginDefault(t *testing.T) {
if webOrigin() != "http://localhost:5174" {
t.Fatalf("default origin")
}
}
}