refactor: serve static frontend with Go APIs
This commit is contained in:
1 parent
763d2f0648
commit
b14b4fced7
101 files changed
+963
-3928
No files matched your search
@@ -25,6 +25,8 @@ describe("AuthLoginPanel", () => {
|
||||
expect(panelSource).not.toContain('disabled={!configured || submitting || !phone.trim() || !password}');
|
||||
expect(panelSource).not.toContain("authMode");
|
||||
expect(panelSource).not.toContain("alternateHref");
|
||||
expect(panelSource).toContain("window.location.assign(safeBrowserNext(result.redirectTo, next))");
|
||||
expect(panelSource).not.toContain("window.location.assign(result.redirectTo");
|
||||
expect(loginPageSource).not.toContain("/auth/admin-login");
|
||||
expect(adminPageSource).toContain("/auth/login");
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user