]> git.uio.no Git - usit-rt.git/blame - local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Session
Removed LDAP-lookup loop for new external users.
[usit-rt.git] / local / plugins / RT-Authen-ExternalAuth / html / Callbacks / ExternalAuth / autohandler / Session
CommitLineData
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.
5if ( $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>