Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Commits on Source (2)
(fix): Use lowercase when looking up Pro users
· 4ee9b7d6
Emiliano Balbuena
authored
Nov 14, 2019
and
Mark Harding
committed
Nov 14, 2019
4ee9b7d6
Merge branch 'hotfix/pro-settings-user-lookup' into 'master'
· d592fd9d
Mark Harding
authored
Nov 14, 2019
(fix): Use lowercase when looking up Pro users See merge request
!399
d592fd9d
Hide whitespace changes
Inline
Side-by-side
Controllers/api/v2/pro/settings.php
View file @
d592fd9d
...
...
@@ -34,7 +34,7 @@ class settings implements Interfaces\Api
]);
}
$user
=
new
User
(
$pages
[
0
]);
$user
=
new
User
(
strtolower
(
$pages
[
0
])
)
;
}
/** @var Manager $manager */
...
...
@@ -66,7 +66,7 @@ class settings implements Interfaces\Api
]);
}
$user
=
new
User
(
$pages
[
0
]);
$user
=
new
User
(
strtolower
(
$pages
[
0
])
)
;
}
/** @var Manager $manager */
...
...
Controllers/api/v2/pro/settings/assets.php
View file @
d592fd9d
...
...
@@ -53,7 +53,7 @@ class assets implements Interfaces\Api
]);
}
$user
=
new
User
(
$pages
[
1
]);
$user
=
new
User
(
strtolower
(
$pages
[
1
])
)
;
}
// Check uploaded file
...
...
Controllers/api/v2/pro/settings/domain.php
View file @
d592fd9d
...
...
@@ -34,7 +34,7 @@ class domain implements Interfaces\Api
]);
}
$user
=
new
User
(
$pages
[
0
]);
$user
=
new
User
(
strtolower
(
$pages
[
0
])
)
;
}
/** @var ProDomain $proDomain */
...
...