Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php final class PhabricatorDisabledUserController extends PhabricatorAuthController {..

Decoded Output download

<?php

final class PhabricatorDisabledUserController
  extends PhabricatorAuthController {

  public function shouldRequireEnabledUser() {
    return false;
  }

  public function handleRequest(AphrontRequest $request) {
    $viewer = $this->getViewer();
    $id = $request->getURIData('id');

    if (!$viewer->getIsDisabled()) {
      return new Aphront404Response();
    }

    return $this->newDialog()
      ->setTitle(pht('Account Disabled'))
      ->addCancelButton('/logout/', pht('Okay'))
      ->appendParagraph(pht('Your account has been disabled.'));
  }

}
 ?>

Did this file decode correctly?

Original Code

<?php

final class PhabricatorDisabledUserController
  extends PhabricatorAuthController {

  public function shouldRequireEnabledUser() {
    return false;
  }

  public function handleRequest(AphrontRequest $request) {
    $viewer = $this->getViewer();
    $id = $request->getURIData('id');

    if (!$viewer->getIsDisabled()) {
      return new Aphront404Response();
    }

    return $this->newDialog()
      ->setTitle(pht('Account Disabled'))
      ->addCancelButton('/logout/', pht('Okay'))
      ->appendParagraph(pht('Your account has been disabled.'));
  }

}

Function Calls

None

Variables

None

Stats

MD5 b7f8933991f34cc32cc733a117563a52
Eval Count 0
Decode Time 78 ms