--- you can reply above this line ---
New issue 104: Fix: cannot determine who you are
https://bitbucket.org/wez/mtrack/issue/104/fix-cannot-determine-who-you-are
Anonymous:
On my machine pushing to the a git repo via ssh fails with the error message "cannot determine who you are". After some research I found the problem: in my environment the username is not in $_ENV[$name], but in $_SERVER[$name].
If I do the following modification, everything works fine:
in inc/auth.php line 122, before:
foreach ($envs as $name) {
if (isset($_ENV[$name])) {
return $_ENV[$name];
}
}
after:
foreach ($envs as $name) {
if (isset($_ENV[$name])) {
return $_ENV[$name];
}
if (isset($_SERVER[$name])) {
return $_SERVER[$name];
}
}
Responsible: wez
--
This is an issue notification from
bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.