Skip to content

Commit 783dbb2

Browse files
committed
Fix merge conflicts.
1 parent 6f713cc commit 783dbb2

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

conf/webwork2.mojolicious.dist.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,13 @@ hardcopy:
240240
# If 1, don't delete temporary files created when a hardcopy is generated.
241241
preserve_temp_files: 0
242242

243+
# Set this to 1 to allow the html2xml and render_rpc endpoints to disable
244+
# cookies and thus skip two factor authentication. This should never be enabled
245+
# for a typical webwork server. This should only be enabled if you want to
246+
# allow serving content via these endpoints to links in external websites with
247+
# usernames and passwords embedded in them such as for PreTeXt textbooks.
248+
allow_unsecured_rpc: 0
249+
243250
# External Programs
244251

245252
# These applications are often found in /bin, but sometimes in /usr/bin or even in /opt/local/bin.
@@ -328,9 +335,4 @@ database:
328335
# Reference: https://dev.mysql.com/doc/refman/8.0/en/identifier-length.html
329336
maxCourseIdLength: 40
330337

331-
# Set this to 1 to allow the html2xml and render_rpc endpoints to disable
332-
# cookies and thus skip two factor authentication. This should never be enabled
333-
# for a typical webwork server. This should only be enabled if you want to
334-
# allow serving content via these endpoints to links in external websites with
335-
# usernames and passwords embedded in them such as for PreTeXt textbooks.
336-
allow_unsecured_rpc: 0
338+

lib/WeBWorK/CourseEnvironment.pm

-1
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,6 @@ sub set_server_settings {
421421
return;
422422
}
423423

424-
=back
425424
=head2 two_factor_authentication_enabled
426425
427426
Usage: C<< $ce->two_factor_authentication_enabled >>

0 commit comments

Comments
 (0)