Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Quelch a undefined warning

  • Loading branch information...
commit f716b64060ae8f1f18c5de7e8e8371b0077f91ca 1 parent fe8a595
@nelhage authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/AuthMitEdu/Model/User.pm
View
1  lib/AuthMitEdu/Model/User.pm
@@ -15,6 +15,7 @@ use AuthMitEdu::Record schema {
sub remote_user {
my $email = $ENV{SSL_CLIENT_S_DN_Email};
+ return unless $email;
my ($username) = $email =~ /^(.+)@/;
return unless $username;
my $user = AuthMitEdu::Model::User->new;
Please sign in to comment.
Something went wrong with that request. Please try again.