mirror of
https://github.com/hak5/nano-tetra-modules.git
synced 2025-10-29 16:58:09 +00:00
27 lines
521 B
PHP
Executable File
27 lines
521 B
PHP
Executable File
<?php namespace evilportal;
|
|
|
|
class MyPortal extends Portal
|
|
{
|
|
|
|
public function handleAuthorization()
|
|
{
|
|
// Call parent to handle basic authorization first
|
|
parent::handleAuthorization();
|
|
|
|
// Check for other form data here
|
|
}
|
|
|
|
public function showSuccess()
|
|
{
|
|
// Calls default success message
|
|
//parent::showSuccess();
|
|
parent::redirect();
|
|
}
|
|
|
|
public function showError()
|
|
{
|
|
// Calls default error message
|
|
parent::showError();
|
|
}
|
|
}
|