Jump to content

Retired Users have still acces to the page


CedGauche

Recommended Posts

  • Members

Can you post your Auth.class.php ?

at about line 286 you should see

 /*if($userinfo->retired == 1)
 {
  self::$error_message = 'Your account was deactivated, please contact an admin';
  return false;
 }*/
 //ok now check it

Commented

uncomment it and you should be fine

 if($userinfo->retired == 1)
 {
  self::$error_message = 'Your account was deactivated, please contact an admin';
  return false;
 }
 //ok now check it

Link to comment
Share on other sites

Hi,

this is the code:

if($userinfo->retired == 1)

{

self::$error_message = 'Der Account wurde aufgrund von Inaktivität deaktiviert, zum entsperren den Admin / Webmaster kontaktieren.';

return false;

}

I guess the code is uncomment. When I try to login with an retired test account, there is the message,the account is retired and no access. Perfect ;)

But when I never log out from the page and the session cookie is still active, I can acces the page with an retired account.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...