Add logic to prevent the current user from removing himself from the administrator list, and a flash error notice for that scenario

This commit is contained in:
Bertocq
2017-05-25 11:29:39 +02:00
parent e9ea72113b
commit fe5ddd019b
3 changed files with 8 additions and 1 deletions

View File

@@ -187,6 +187,7 @@ es:
administrator:
add: Añadir como Administrador
delete: Borrar
restricted_removal: "Lo sentimos, no puedes te eliminar a ti mismo de la lista"
search:
email_placeholder: Buscar usuario por email
search: Buscar