@@ -22,6 +22,7 @@ export class UserSignup {
22
22
public readonly passwordConfirmation : ko . Observable < string > ;
23
23
public readonly firstName : ko . Observable < string > ;
24
24
public readonly lastName : ko . Observable < string > ;
25
+ public readonly isUserRequested : ko . Observable < boolean > ;
25
26
public readonly showTerms : ko . Observable < boolean > ;
26
27
public readonly consented : ko . Observable < boolean > ;
27
28
public readonly showHideLabel : ko . Observable < string > ;
@@ -37,6 +38,7 @@ export class UserSignup {
37
38
this . passwordConfirmation = ko . observable ( "" ) ;
38
39
this . firstName = ko . observable ( "" ) ;
39
40
this . lastName = ko . observable ( "" ) ;
41
+ this . isUserRequested = ko . observable ( false ) ;
40
42
this . isConsentRequired = ko . observable ( false ) ;
41
43
this . consented = ko . observable ( false ) ;
42
44
this . showTerms = ko . observable ( ) ;
@@ -62,6 +64,7 @@ export class UserSignup {
62
64
this . captcha . extend ( < any > { required : { message : `Captcha is required.` } } ) ;
63
65
}
64
66
67
+
65
68
@Param ( )
66
69
public requireHipCaptcha : ko . Observable < boolean > ;
67
70
@@ -201,6 +204,8 @@ export class UserSignup {
201
204
await this . usersService . createSignupRequest ( mapiSignupData ) ;
202
205
}
203
206
207
+ this . isUserRequested ( true ) ;
208
+
204
209
const validationReport : ValidationReport = {
205
210
source : "signup" ,
206
211
errors : [ ]
0 commit comments