Skip to content

Commit

Permalink
Added signUp delegation action (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
ygrik authored Jun 16, 2020
1 parent 94d3024 commit 3b8a085
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/users/signup/ko/signupViewModelBinder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class SignupViewModelBinder implements ViewModelBinder<SignupModel, Signu
const delegationParam = {};
delegationParam[DelegationParameters.ReturnUrl] = "/";

const delegationUrl = await this.backendService.getDelegationUrl(DelegationAction.signIn, delegationParam);
const delegationUrl = await this.backendService.getDelegationUrl(DelegationAction.signUp, delegationParam);
if (delegationUrl) {
params["delegationUrl"] = delegationUrl;
}
Expand Down
1 change: 1 addition & 0 deletions src/contracts/tenantSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export interface TenantSettings {

export enum DelegationAction {
signIn = "SignIn",
signUp = "SignUp",
subscribe = "Subscribe",
unsubscribe = "Unsubscribe",
renew = "Renew",
Expand Down

0 comments on commit 3b8a085

Please sign in to comment.