Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Login Global Error Passing...What's that?
#1
Umm, probably the title wasn't so good...but.
In the Dev Area, I noticed:

I logged in to the Client Area with a WRONG username and password.
After it shows the "WRONG USERNAME" Red Error, click Admin Area in the tab menu.
Now:
You're Logged out from the Admin Area
You see a "Wrong Username" message.

Is that "working as intended" or..? Big Grin
Jimmie Lin - Community Manager & THT.Next Developer
#2
Errr, not really. The error is supposed to be dumped after once page load.
Jonny H - THT Main Developer & Founder


#3
Strange. Fix it :p
Just unset() it,in the start, like:
PHP Code:
//Unset All Vars before proceeding
if($error){
     unset(
$error);
     continue;
}
else{

Jimmie Lin - Community Manager & THT.Next Developer
#4
Yeah it does, it's just abit tricky with placement.
Jonny H - THT Main Developer & Founder


#5
Sadly, this still isn't fixed. Not in the Dev area either. :p
Force an unset. Do anything. :p
Jimmie Lin - Community Manager & THT.Next Developer
#6
I can't replicate it. Tongue
Kevin Mark - TheHostingTool Lead Developer
#7
Login into Admin Area.
Now go to the order form and login to the Client area with a wrong USERNAME.
Now click Admin Area's tab. You are logged out and it shows "Wrong username".
Jimmie Lin - Community Manager & THT.Next Developer
#8
Jimmie, as said. That won't happen in the dev area.
Jonny H - THT Main Developer & Founder


#9
Can't replicate Global Error Passing, but I can report that you still get logged out in Acp when you log out from the Client Area, or if you failed to login into the client area.
Jimmie Lin - Community Manager & THT.Next Developer


Forum Jump:


Users browsing this thread: 1 Guest(s)