[LON-CAPA-cvs] cvs: loncom /interface createaccount.pm

raeburn raeburn at source.lon-capa.org
Sun Sep 26 16:11:14 EDT 2021


raeburn		Sun Sep 26 20:11:14 2021 EDT

  Modified files:              
    /loncom/interface	createaccount.pm 
  Log:
  - Putting line breaks added in rev. 1.83 in the correct place.
  
  
Index: loncom/interface/createaccount.pm
diff -u loncom/interface/createaccount.pm:1.83 loncom/interface/createaccount.pm:1.84
--- loncom/interface/createaccount.pm:1.83	Sat Sep 25 20:35:26 2021
+++ loncom/interface/createaccount.pm	Sun Sep 26 20:11:14 2021
@@ -4,7 +4,7 @@
 # kerberos, or SSO) or an e-mail address. Requests to use an e-mail address as
 # username may be processed automatically, or may be queued for approval.
 #
-# $Id: createaccount.pm,v 1.83 2021/09/25 20:35:26 raeburn Exp $
+# $Id: createaccount.pm,v 1.84 2021/09/26 20:11:14 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1197,15 +1197,16 @@
             $output .= '
    <input type="hidden" name="crypt" value="" />
    <input type="hidden" name="code" value="" />
-   <br /><br />
 ';
+            $captchaform .= '<br /><br />';
+            
         } elsif ($captcha eq 'recaptcha') {
             unless ($recaptchaversion eq '2') {
                 $output .= '
    <input type="hidden" name="recaptcha_challenge_field" value="" />
    <input type="hidden" name="recaptcha_response_field" value="" />
-   <br /><br />
 ';
+                $captchaform .= '<br /><br />';
             }
         }
         if ($usertype ne '') {




More information about the LON-CAPA-cvs mailing list