We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d75f300 commit 82b7d1aCopy full SHA for 82b7d1a
src/gitlab.ts
@@ -97,7 +97,7 @@ export default class VerdaccioGitLab implements VerdaccioGitLabPlugin {
97
98
GitlabAPI.Users.current()
99
.then(response => {
100
- if (user !== response.username.toLowerCase()) {
+ if (user.toLowerCase() !== response.username.toLowerCase()) {
101
return cb(getUnauthorized('wrong gitlab username'));
102
}
103
0 commit comments