... | ... |
@@ -201,6 +201,11 @@ sub startup { |
201 | 201 |
|
202 | 202 |
$self->basic_auth("Git Area", sub { |
203 | 203 |
my ($auth_user, $auth_password) = @_; |
204 |
+ |
|
205 |
+ if (!defined $auth_user || !length $auth_user) { |
|
206 |
+ $self->app->log->warn("Authentication: User name is empty"); |
|
207 |
+ } |
|
208 |
+ |
|
204 | 209 |
$auth_user = '' unless defined $auth_user; |
205 | 210 |
$auth_password = '' unless defined $auth_password; |
206 | 211 |
|