Skip to content

Commit

Permalink
Fix to switch to remove user
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Mar 29, 2024
1 parent d00c93c commit 61e5b10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions authentic-lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1967,6 +1967,7 @@ sub get_xhr_request
flush_file_lines($file);
print convert_to_json($history);
} elsif ($in{'xhr-get_autocompletes'} eq '1') {
switch_to_remote_user_safe();
my @data =
get_autocomplete_shell($in{'xhr-get_autocomplete_type'}, $in{'xhr-get_autocomplete_string'});
print convert_to_json(\@data);
Expand Down

0 comments on commit 61e5b10

Please sign in to comment.