diff options
author | Ruben Pollan <meskio@sindominio.net> | 2015-09-14 12:28:06 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2015-09-15 14:13:25 +0200 |
commit | d2c78426f9e493361b71199244ef2626eb6b9451 (patch) | |
tree | 4a3af2a208c2ca16335bdc5b5b36427c6b574723 | |
parent | 8384b006f575ac0b769f9f6e9ce6b2c623ec9fa1 (diff) |
[feat] return a more meaningful msg if user exists but has no key
- Resolves: #7272
-rw-r--r-- | changes/feature_7272-msg-key-not-found | 1 | ||||
-rw-r--r-- | src/leap/mx/check_recipient_access.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changes/feature_7272-msg-key-not-found b/changes/feature_7272-msg-key-not-found new file mode 100644 index 0000000..2d82df8 --- /dev/null +++ b/changes/feature_7272-msg-key-not-found @@ -0,0 +1 @@ +- return a more meaningful msg if user exists but has no key (Closes: #7272) diff --git a/src/leap/mx/check_recipient_access.py b/src/leap/mx/check_recipient_access.py index f994e78..070ff0d 100644 --- a/src/leap/mx/check_recipient_access.py +++ b/src/leap/mx/check_recipient_access.py @@ -65,7 +65,7 @@ class LEAPPostFixTCPMapAccessServer(postfix.PostfixTCPMapServer): elif pubkey is None: self.sendCode( TCP_MAP_CODE_TEMPORARY_FAILURE, - postfix.quote("4.7.13 USER ACCOUNT DISABLED")) + postfix.quote("4.7.13 NO PUBKEY FOUND")) else: self.sendCode( TCP_MAP_CODE_SUCCESS, |