Compare commits
2 Commits
a07a491903
...
d16bc107ad
Author | SHA1 | Date |
---|---|---|
Paul Weidner | d16bc107ad | |
Paul Weidner | 56b3b4de95 |
|
@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- [Correct alter hook to add password grant to static scopes #755](https://github.com/farmOS/farmOS/pull/755)
|
||||
- [Use strict identical operator when checking geometry format #756](https://github.com/farmOS/farmOS/pull/756)
|
||||
|
||||
## [3.0.0-beta3] 2023-11-27
|
||||
|
||||
### Fixed
|
||||
|
|
|
@ -104,7 +104,7 @@ class ContentEntityGeometryNormalizer implements NormalizerInterface, Serializer
|
|||
// Check that the data is a content entity.
|
||||
// Only formats that are prefixed with "geometry_" are supported.
|
||||
// This makes it easier for other modules to provide geometry encoders.
|
||||
return $data instanceof ContentEntityInterface && strpos($format, 'geometry_') == 0;
|
||||
return $data instanceof ContentEntityInterface && strpos($format, 'geometry_') === 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -18,7 +18,7 @@ function farm_role_roles_oauth2_scope_info_alter(array &$scopes) {
|
|||
'farm_viewer',
|
||||
];
|
||||
foreach ($target_scopes as $scope_id) {
|
||||
if (isset($target_scopes[$scope_id])) {
|
||||
if (isset($scopes[$scope_id])) {
|
||||
$scopes[$scope_id]['grant_types']['password'] = [
|
||||
'status' => TRUE,
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue