Skip to Content Skip to Menu

Validating with CB login

  • brendanc
  • brendanc
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
13 years 4 months ago #168756 by brendanc
Validating with CB login was created by brendanc
Hi,
There is a tiny issue with the CB Login module when it comes to validating a website.
I am using CB 1.4 and got a validation error by using the module.
Line 709 - 710 is the offending area.
Code:
echo '<form action="'.$loginPost.'" method="post" id="' . $idFormLogin . '" class="cbLoginForm"'; echo 'style="margin:0px;">'."\n";

It should be:
Code:
echo '<form action="'.$loginPost.'" method="post" id="' . $idFormLogin . '" class="cbLoginForm"'; echo ' style="margin:0px;">'."\n";

The space before the word 'style' separates the class and style sections

Worth changing for next version as most of my sites require validation.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum