<%args> $next => undef <%init> return unless $next; my $destination = RT::Interface::Web::FetchNextPage($next); return unless ref $destination and $destination->{'HasSideEffects'}; my $consequence = RT::Interface::Web::PotentialPageAction($destination->{'url'}) || loc("perform actions"); $consequence = $m->interp->apply_escapes($consequence => "h");

<&|/l&>After logging in you'll be sent to your original destination: <% $destination->{'url'} %> <&|/l_unsafe, "$consequence" &>which may [_1] on your behalf.

<&|/l&>If this is not what you expect, leave this page now without logging in.