Validating with CB login

12 years 9 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.
echo '<form action="'.$loginPost.'" method="post" id="' . $idFormLogin . '" class="cbLoginForm"';
	echo 'style="margin:0px;">'."\n";

It should be:
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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.287 seconds

Facebook Twitter LinkedIn