Skip to content

Commit

Permalink
Merge branch 'release/1.7.39.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Feb 22, 2023
2 parents f086f84 + ec115a6 commit 8be02e4
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 55 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v1.7.39.4
## 02/22/2023

1. [](#bugfix)
* Reverted a reorganization of `account.yaml` that caused username to be disabled [admin#2344](https://github.com/getgrav/grav-plugin-admin/issues/2344)

# v1.7.39.3
## 02/21/2023

Expand Down
107 changes: 53 additions & 54 deletions system/blueprints/user/account.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,63 +30,62 @@ form:
type: section
title: PLUGIN_ADMIN.ACCOUNT
underline: true
fields:

username:
type: text
size: large
label: PLUGIN_ADMIN.USERNAME
disabled: true
readonly: true

email:
type: email
size: large
label: PLUGIN_ADMIN.EMAIL
validate:
type: email
message: PLUGIN_ADMIN.EMAIL_VALIDATION_MESSAGE
required: true

password:
type: password
size: large
label: PLUGIN_ADMIN.PASSWORD
autocomplete: new-password
validate:
required: false
message: PLUGIN_ADMIN.PASSWORD_VALIDATION_MESSAGE
config-pattern@: system.pwd_regex

fullname:
type: text
size: large
label: PLUGIN_ADMIN.FULL_NAME
validate:
required: true

title:
type: text
size: large
label: PLUGIN_ADMIN.TITLE
username:
type: text
size: large
label: PLUGIN_ADMIN.USERNAME
disabled: true
readonly: true

language:
type: select
label: PLUGIN_ADMIN.LANGUAGE
size: medium
classes: fancy
data-options@: '\Grav\Plugin\Admin\Admin::adminLanguages'
default: 'en'
help: PLUGIN_ADMIN.LANGUAGE_HELP
email:
type: email
size: large
label: PLUGIN_ADMIN.EMAIL
validate:
type: email
message: PLUGIN_ADMIN.EMAIL_VALIDATION_MESSAGE
required: true

password:
type: password
size: large
label: PLUGIN_ADMIN.PASSWORD
autocomplete: new-password
validate:
required: false
message: PLUGIN_ADMIN.PASSWORD_VALIDATION_MESSAGE
config-pattern@: system.pwd_regex

fullname:
type: text
size: large
label: PLUGIN_ADMIN.FULL_NAME
validate:
required: true

content_editor:
type: select
label: PLUGIN_ADMIN.CONTENT_EDITOR
size: medium
classes: fancy
data-options@: 'Grav\Plugin\Admin\Admin::contentEditor'
default: 'default'
help: PLUGIN_ADMIN.CONTENT_EDITOR_HELP
title:
type: text
size: large
label: PLUGIN_ADMIN.TITLE

language:
type: select
label: PLUGIN_ADMIN.LANGUAGE
size: medium
classes: fancy
data-options@: '\Grav\Plugin\Admin\Admin::adminLanguages'
default: 'en'
help: PLUGIN_ADMIN.LANGUAGE_HELP

content_editor:
type: select
label: PLUGIN_ADMIN.CONTENT_EDITOR
size: medium
classes: fancy
data-options@: 'Grav\Plugin\Admin\Admin::contentEditor'
default: 'default'
help: PLUGIN_ADMIN.CONTENT_EDITOR_HELP

twofa_check:
type: conditional
Expand Down
2 changes: 1 addition & 1 deletion system/defines.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// Some standard defines
define('GRAV', true);
define('GRAV_VERSION', '1.7.39.3');
define('GRAV_VERSION', '1.7.39.4');
define('GRAV_SCHEMA', '1.7.0_2020-11-20_1');
define('GRAV_TESTING', false);

Expand Down

0 comments on commit 8be02e4

Please sign in to comment.