Showing 1 changed files with 2 additions and 0 deletions
+2
lib/Gitprep.pm
... ...
@@ -203,6 +203,8 @@ sub startup {
203 203
                 
204 204
                 $self->basic_auth("Git Area", sub {
205 205
                   my ($auth_user, $auth_password) = @_;
206
+                  $auth_user = '' unless defined $auth_user;
207
+                  $auth_password = '' unless defined $auth_password;
206 208
                   
207 209
                   my $is_valid =
208 210
                     ($user eq $auth_user || $api->is_collaborator($user, $project, $auth_user))