Jake Vanderwerf
2026-07-05 fff721dd185f5b97f7ae7a6e64189e55887ff590
inc/managers/LoginManager.php
@@ -222,12 +222,14 @@
                  'subtype' => 'password',
                  'label' => __('New Password', 'jvb'),
                  'required' => true,
                  'autocomplete'=> 'new-password'
               ],
               'pass2' => [
                  'type' => 'text',
                  'subtype' => 'password',
                  'label' => __('Confirm Password', 'jvb'),
                  'required' => true,
                  'autocomplete'=> 'new-password'
               ],
            ];
            break;
@@ -656,10 +658,19 @@
         $additionalInputs,
         $fields,
         $turnstile,
         $this->labels['submit']??'Login',
         $this->labels['submit']??$this->determineSubmit($action),
         $magicLink
      );
   }
      protected function determineSubmit(string $action):string
      {
         return match($action) {
            'rp','resetpass' => 'Reset Password',
            'register' => 'Register',
            'lostpassword' => 'Send me a reset link',
            default => 'Login',
         };
      }
   protected function renderHeader():void
    {
    ?>