fix(console): message text setter (#5597)

This commit is contained in:
Max Peintner
2023-04-03 07:19:36 +00:00
committed by GitHub
parent 4df15511b5
commit 4691298eb6
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -400,6 +400,8 @@ import {
SetCustomInitMessageTextResponse,
SetCustomLoginTextsRequest,
SetCustomLoginTextsResponse,
SetCustomPasswordChangeMessageTextRequest,
SetCustomPasswordChangeMessageTextResponse,
SetCustomPasswordlessRegistrationMessageTextRequest,
SetCustomPasswordlessRegistrationMessageTextResponse,
SetCustomPasswordResetMessageTextRequest,
@@ -688,6 +690,12 @@ export class ManagementService {
return this.grpcService.mgmt.getCustomPasswordChangeMessageText(req, null).then((resp) => resp.toObject());
}
public setCustomPasswordChangeMessageText(
req: SetCustomPasswordChangeMessageTextRequest,
): Promise<SetCustomPasswordChangeMessageTextResponse.AsObject> {
return this.grpcService.mgmt.setCustomPasswordChangeMessageCustomText(req, null).then((resp) => resp.toObject());
}
public resetCustomPasswordChangeMessageTextToDefault(
lang: string,
): Promise<ResetCustomPasswordChangeMessageTextToDefaultResponse.AsObject> {