Skip to content

Commit

Permalink
Merge branch 'release/1.10.19'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Aug 31, 2021
2 parents 12d4e75 + 73e0952 commit 120ea4a
Show file tree
Hide file tree
Showing 110 changed files with 812 additions and 901 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# v1.10.19
## 08/31/2021

1. [](#new)
* Require **Grav 1.7.19** and **Form 5.1.0** and **Login 3.5.0**
* Updated SCSS compiler to v1.6
2. [](#improved)
* Updated forms and nested fields to use new form logic
* Admin form now use layout `admin`, meaning you can create admin specific field templates by `forms/fields/myfield/admin-field.html.twig`
* Stop using `|tu` filter, Grav already has the same logic in `|t` for admin
* Remove unneeded escapes
* Allow removal of plugin when disabled [#2167](https://github.com/getgrav/grav-plugin-admin/issues/2167)
3. [](#bugfix)
* Fixed missing values in `fieldset` form field

# v1.10.18
## 07/19/2021

Expand Down
12 changes: 6 additions & 6 deletions blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Admin Panel
slug: admin
type: plugin
version: 1.10.18
version: 1.10.19
description: Adds an advanced administration panel to manage your site
icon: empire
author:
Expand All @@ -15,11 +15,11 @@ docs: https://github.com/getgrav/grav-plugin-admin/blob/develop/README.md
license: MIT

dependencies:
- { name: grav, version: '>=1.7.10' }
- { name: form, version: '>=4.1.0' }
- { name: login, version: '>=3.3.5' }
- { name: email, version: '>=3.0.9' }
- { name: flex-objects, version: '>=1.0.0' }
- { name: grav, version: '>=1.7.19' }
- { name: form, version: '>=5.1.0' }
- { name: login, version: '>=3.5.0' }
- { name: email, version: '>=3.1.0' }
- { name: flex-objects, version: '>=1.1.0' }

form:
validation: loose
Expand Down
2 changes: 1 addition & 1 deletion classes/plugin/Controllers/Login/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public function taskLogin(): ResponseInterface
}

$post = $this->getPost();
$credentials = $post['data'] ?? [];
$credentials = (array)($post['data'] ?? []);
$login = $this->getLogin();
$config = $this->getConfig();

Expand Down

0 comments on commit 120ea4a

Please sign in to comment.