@@ -181,28 +181,28 @@ public async Task<RegisterResponseModel> PostRegisterFinish([FromBody] RegisterF
181
181
await _registerUserCommand . RegisterUserViaEmailVerificationToken ( user , model . MasterPasswordHash ,
182
182
model . EmailVerificationToken ) ;
183
183
184
- return await ProcessRegistrationResult ( identityResult , user , delaysEnabled ) ;
184
+ return ProcessRegistrationResult ( identityResult , user ) ;
185
185
case RegisterFinishTokenType . OrganizationInvite :
186
186
identityResult = await _registerUserCommand . RegisterUserViaOrganizationInviteToken ( user , model . MasterPasswordHash ,
187
187
model . OrgInviteToken , model . OrganizationUserId ) ;
188
188
189
- return await ProcessRegistrationResult ( identityResult , user , delaysEnabled ) ;
189
+ return ProcessRegistrationResult ( identityResult , user ) ;
190
190
case RegisterFinishTokenType . OrgSponsoredFreeFamilyPlan :
191
191
identityResult = await _registerUserCommand . RegisterUserViaOrganizationSponsoredFreeFamilyPlanInviteToken ( user , model . MasterPasswordHash , model . OrgSponsoredFreeFamilyPlanToken ) ;
192
192
193
- return await ProcessRegistrationResult ( identityResult , user , delaysEnabled ) ;
193
+ return ProcessRegistrationResult ( identityResult , user ) ;
194
194
case RegisterFinishTokenType . EmergencyAccessInvite :
195
195
Debug . Assert ( model . AcceptEmergencyAccessId . HasValue ) ;
196
196
identityResult = await _registerUserCommand . RegisterUserViaAcceptEmergencyAccessInviteToken ( user , model . MasterPasswordHash ,
197
197
model . AcceptEmergencyAccessInviteToken , model . AcceptEmergencyAccessId . Value ) ;
198
198
199
- return await ProcessRegistrationResult ( identityResult , user , delaysEnabled ) ;
199
+ return ProcessRegistrationResult ( identityResult , user ) ;
200
200
case RegisterFinishTokenType . ProviderInvite :
201
201
Debug . Assert ( model . ProviderUserId . HasValue ) ;
202
202
identityResult = await _registerUserCommand . RegisterUserViaProviderInviteToken ( user , model . MasterPasswordHash ,
203
203
model . ProviderInviteToken , model . ProviderUserId . Value ) ;
204
204
205
- return await ProcessRegistrationResult ( identityResult , user , delaysEnabled ) ;
205
+ return ProcessRegistrationResult ( identityResult , user ) ;
206
206
default :
207
207
throw new BadRequestException ( "Invalid registration finish request" ) ;
208
208
}
0 commit comments