Prevent accessing another exercise during a programming group session

This commit is contained in:
Sebastian Serth
2023-08-22 15:45:28 +02:00
committed by Sebastian Serth
parent 01accdae58
commit 3f674d3687
4 changed files with 20 additions and 0 deletions

View File

@ -17,6 +17,7 @@ class SessionsController < ApplicationController
end
def create_through_lti
session.delete(:pg_id) # Remove any previous pg_id from the session
store_lti_session_data(params)
store_nonce(params[:oauth_nonce])
if params[:custom_redirect_target]