bug on "error" while logining in

vnevermore

Member
with the current version and with everything on default,
when you are trying to login and you enter wrong pass/id the script returns you on the "error" page which is ok, but it does not replace the {$wrapper_welcome} with result visitor need to go again to to the main page to re-try.

actually this is not very big deal for the user but i am making a new custom theme and not replacing this var destroys the whole design


here's an image of viosilist demo
http://prntscr.com/d4m2uu
 
Last edited:

Mark

Administrator
Staff member
Interesting, thanks for pointing this out I will fix for 1.6 and post a patch for this asap.
 

Mark

Administrator
Staff member
Here is the patch

open sources/user_cpl.php

find (line 164):
Code:
  //Store this IP and timestamp for bruteforce protection
  $TMPL['ip'] = $_SERVER['REMOTE_ADDR'];
  $TMPL['timestamp'] = time();
add this line AFTER the above:
Code:
  $TMPL['wrapper_welcome'] = base::do_skin('welcome_not_logged_in');
 
Top