system/Login/Login.php
/**
* @brief Force a URL to send to post-login
* @note Useful when you need to redirect the user to another URL that is not local to this installation
*/
public static $forcedRedirectUrl = NULL;
/**
* Fetch the URL to redirect to
*
* @return \IPS\Http\Url
*/
public static function getDestination()
{
/* Try and get a referrer... */
try
{
/* Are we forcing the user to be sent to a specific URL? */
if( static::$forcedRedirectUrl !== NULL )
{
return static::$forcedRedirectUrl;
}
If you're dev you should know what to do