diff --git a/CHANGELOG.md b/CHANGELOG.md index a1bdbd52..02ea3d4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ 1. [](#bugfix) * Fixed issue `admin.super` or `admin.users` users changing the account when saving another user [#713](https://github.com/getgrav/grav-plugin-admin/issues/713) + * Fix issue where non `admin.super`/`admin.users` users could see other users profiles [#713](https://github.com/getgrav/grav-plugin-admin/issues/713) # v1.2.10 ## 1/30/2017 diff --git a/themes/grav/templates/user.html.twig b/themes/grav/templates/user.html.twig index 3cf3fc72..401f4720 100644 --- a/themes/grav/templates/user.html.twig +++ b/themes/grav/templates/user.html.twig @@ -4,27 +4,36 @@ {% set user = admin.data('users/' ~ admin.route) %} {% set title = "PLUGIN_ADMIN.USER"|tu ~ ": " ~ admin.route|e %} {% else %} - {% set title = "PLUGIN_ADMIN.USERS"|tu %} + {% set title = "PLUGIN_ADMIN_PRO.USERS"|tu %} {% endif %} {% block titlebar %} {% if not admin.route %} -
-