info leak prevention can be a little more friendly
and acquire some German formality while you're about it ;-)
This commit is contained in:
parent
db0485fa7e
commit
3cf2970e0e
|
@ -242,7 +242,8 @@ if ($perm =~ /C/) {
|
||||||
# we know the user and repo; we just need to know what perm he's trying
|
# we know the user and repo; we just need to know what perm he's trying
|
||||||
# aa == attempted access
|
# aa == attempted access
|
||||||
my $aa = ($verb =~ $R_COMMANDS ? 'R' : 'W');
|
my $aa = ($verb =~ $R_COMMANDS ? 'R' : 'W');
|
||||||
die "$aa access for $repo DENIED to $user\n" unless $perm =~ /$aa/;
|
die "$aa access for $repo DENIED to $user
|
||||||
|
(Or there may be no repository at the given path. Did you spell it correctly?)\n" unless $perm =~ /$aa/;
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
# over to git now
|
# over to git now
|
||||||
|
|
Loading…
Reference in a new issue