From 4926eecee4d7650448a0d2db37cc35d142def5ff Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Fri, 1 Mar 2024 18:08:27 -0600 Subject: [PATCH] Fix a warning that occurs for proctor authentication. This is a stopgap measure since this is already fixed in #2334, but this was missed in #2333. #2334 completely rewrites this module. --- lib/WeBWorK/Authen/Proctor.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/WeBWorK/Authen/Proctor.pm b/lib/WeBWorK/Authen/Proctor.pm index e9952e99aa..3dc54871a7 100644 --- a/lib/WeBWorK/Authen/Proctor.pm +++ b/lib/WeBWorK/Authen/Proctor.pm @@ -175,9 +175,9 @@ sub set_params { # rewrite the userID to include both the proctor's and the student's user ID # and then call the default create_session method. sub create_session { - my ($self, $userID, $newKey) = @_; + my ($self, $userID) = @_; - return $self->SUPER::create_session($self->proctor_key_id($userID), $newKey, $userID); + return $self->SUPER::create_session($self->proctor_key_id($userID), $userID); } # rewrite the userID to include both the proctor's and the student's user ID