File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -205,9 +205,9 @@ sub get_credentials ($self) {
205205 }
206206
207207 # Get the target_link_uri from the claims.
208- $c -> stash-> {LTILauncRedirect } = $claims -> {' https://purl.imsglobal.org/spec/lti/claim/target_link_uri' };
208+ $c -> stash-> {LTILaunchRedirect } = $claims -> {' https://purl.imsglobal.org/spec/lti/claim/target_link_uri' };
209209
210- unless (defined $c -> stash-> {LTILauncRedirect }) {
210+ unless (defined $c -> stash-> {LTILaunchRedirect }) {
211211 $self -> {error } = $c -> maketext(
212212 ' There was an error during the login process. Please speak to your instructor or system administrator.' );
213213 warn ' LTI is not properly configured (failed to obtain target_link_uri). '
@@ -218,7 +218,7 @@ sub get_credentials ($self) {
218218
219219 # Get the courseID from the target_link_uri and verify that it is the same as the one that was in the state.
220220 my $location = $c -> location;
221- my $target = $c -> url_for($c -> stash-> {LTILauncRedirect })-> path;
221+ my $target = $c -> url_for($c -> stash-> {LTILaunchRedirect })-> path;
222222 my $courseID ;
223223 $courseID = $1 if $target =~ m |$location /([^/]*)| ;
224224
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ sub login ($c) {
2424}
2525
2626sub launch ($c ) {
27- return $c -> redirect_to($c -> systemLink($c -> url_for($c -> stash-> {LTILauncRedirect })));
27+ return $c -> redirect_to($c -> systemLink($c -> url_for($c -> stash-> {LTILaunchRedirect })));
2828}
2929
3030sub keys ($c ) {
You can’t perform that action at this time.
0 commit comments