Skip to content

Commit

Permalink
Remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
csev committed Jan 9, 2024
1 parent f040950 commit 70c7ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controllers/Lessons.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public static function launch(Application $app, $anchor=null)
}

// Check that the session has the minimums...
if ( isset($module->lti) && U::get($_SESSION,'secret') && U::get($_SESSION,'context_key')
if ( U::get($_SESSION,'secret') && U::get($_SESSION,'context_key')
&& U::get($_SESSION,'user_key') && U::get($_SESSION,'displayname') && U::get($_SESSION,'email') )
{
// All good
Expand Down

0 comments on commit 70c7ac1

Please sign in to comment.