When user not found, redirect to users page and show flash message

This commit is contained in:
leigh-mil
2019-08-09 10:36:04 -04:00
parent 43855c5495
commit fa83dfe6bd
5 changed files with 10 additions and 15 deletions

View File

@@ -35,6 +35,11 @@ MESSAGES = {
"message_template": "You have successfully given {{ user_name }} CCPO permissions.",
"category": "success",
},
"ccpo_user_not_found": {
"title_template": translate("ccpo.form.user_not_found_title"),
"message_template": translate("ccpo.form.user_not_found_text"),
"category": "info",
},
"environment_added": {
"title_template": translate("flash.success"),
"message_template": """