From f506fe30b367ff64cb7166c552052f5b16e902ad Mon Sep 17 00:00:00 2001 From: rymsha Date: Fri, 5 Apr 2024 10:03:26 +0200 Subject: [PATCH] LoginResult message should be optional #10497 (cherry picked from commit feb05a94d205cb40c516a0a974dc1ac17354baec) --- modules/lib/lib-auth/src/main/resources/lib/xp/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lib/lib-auth/src/main/resources/lib/xp/auth.ts b/modules/lib/lib-auth/src/main/resources/lib/xp/auth.ts index 80d927319c4..1bdd7549c6a 100644 --- a/modules/lib/lib-auth/src/main/resources/lib/xp/auth.ts +++ b/modules/lib/lib-auth/src/main/resources/lib/xp/auth.ts @@ -47,7 +47,7 @@ export interface LoginParams { export interface LoginResult { authenticated: boolean; - message: string; + message?: string; user?: User; }