]> git.uio.no Git - usit-rt.git/commitdiff
Needed some cleanup. Login-AfterForm-LDAP
authorMikal Kolbein Gule <m.k.gule@usit.uio.no>
Wed, 24 Apr 2013 15:13:16 +0000 (17:13 +0200)
committerMikal Kolbein Gule <m.k.gule@usit.uio.no>
Wed, 24 Apr 2013 15:13:16 +0000 (17:13 +0200)
local/html/Callbacks/UiOCallbacks/Elements/Login/AfterForm

index 031ba3895c0b621c3265c3804ee74e3641e25376..9fb9ad7d48178ecbc67070031ff605beefec0365 100644 (file)
@@ -46,13 +46,8 @@ use Net::LDAP::Util qw(ldap_error_name);
 my $customMessage;
 my $customMessage2;
 
-#my $mailfrom = 'RT reminder <general@hjelp.uio.no>';
-
 if ($email) {
 my $targetType = (GetEmailTypeFromLdap($email) || "none" );
-
-
-
 if ($targetType !~ /(Sympa|none)/)     {
     $customMessage = "[ You can not change or request a password for an UiO account here. See: <a href=https://brukerinfo.uio.no/>UiO user administration services</a>. ]";
     $customMessage2  = "[ ERROR: Use your UiO username and password to log in above. ]";