]>
Commit | Line | Data |
---|---|---|
84fb5b46 MKG |
1 | <%init> |
2 | $m->comp('/Elements/DoAuth',%ARGS); | |
3 | ||
4 | # 3.8.9 doesn't redirect to the specified page if request has one. | |
5 | if ( $m->request_comp->path eq '/NoAuth/Login.html' | |
6 | && RT::Interface::Web::_UserLoggedIn() | |
7 | && $ARGS{next} ) | |
8 | { | |
9 | my $next = delete $session{'NextPage'}->{ $ARGS{'next'} }; | |
10 | RT::Interface::Web::Redirect( $next || RT->Config->Get('WebURL') ); | |
11 | } | |
12 | </%init> |