Skip to content

Commit 11aeab1

Browse files
authored
Enroll Now on program page fix (#3077)
1 parent 44e7896 commit 11aeab1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/public/src/components/ProgramProductDetailEnroll.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -418,9 +418,9 @@ export class ProgramProductDetailEnroll extends React.Component<
418418
<Fragment>
419419
{currentUser && !currentUser.id ? (
420420
<a
421-
href={`${routes.login}?next=${encodeURIComponent(
422-
window.location.pathname
423-
)}`}
421+
href={`${
422+
routes.apiGatewayLogin
423+
}?next=${encodeURIComponent(window.location.pathname)}`}
424424
className="btn btn-primary btn-enrollment-button btn-lg btn-gradient-red-to-blue highlight"
425425
>
426426
Enroll now

0 commit comments

Comments
 (0)