mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
- Added Redirect controller to redirect from the link present in the email to
the page for viewing the message
This commit is contained in:
@@ -105,23 +105,6 @@ class Message extends APIv1_Controller
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getRedirectByToken()
|
||||
{
|
||||
$token = $this->get('token');
|
||||
|
||||
if (isset($token))
|
||||
{
|
||||
redirect(CIS_ROOT);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user