Login Form






Lost Password?
No account yet? Register
Products
Jul
01
Joomla 1.0.10 custom login module problems
PDF
After upgrading to 1.0.10 i had to notice that a custom loging module that i designed for a joomla solution stopped working.

For newly registered users i got a nasty Javascript alert featuring: "You are not authorised  to view this resource!"
(For developers it's a plain mosErrorAlert( _NOT_AUTH ); )
 
Ok, the issue here is the new security measure Joomla team added tha function: josSpoofCheck, whitch performs several checks for ip spoofing and injections.
 
In order your login module to work you need to add a "    $validate = josSpoofValue(1);  " to your PHP code before the output of the form , and a hidden input in the loginform :
    <input type="hidden" name="<?php echo $validate; ?>" value="1" /> 
 
There you go ;) now it should work! 
Comments
Add New Search
Write comment
Name:
Email:
 
Website:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 
Please input the anti-spam code that you can read in the image.

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 
< Prev   Next >