summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2015-07-08 22:11:52 +0200
committerPetr Vobornik <pvoborni@redhat.com>2015-07-09 11:58:30 +0200
commitf0e88e9b13c0c950cb02f377ac13c8e5b9188a34 (patch)
treed29aea4f5fba299152f7432d16db3cc9c085965e /ipalib/plugins
parent0b943f3ce9cb70fa8b68aa44ec525d50604b84a2 (diff)
downloadfreeipa-f0e88e9b13c0c950cb02f377ac13c8e5b9188a34.tar.gz
freeipa-f0e88e9b13c0c950cb02f377ac13c8e5b9188a34.tar.xz
freeipa-f0e88e9b13c0c950cb02f377ac13c8e5b9188a34.zip
fix error message when certificate CN is invalid
The error message was probably copied from mail address check below. Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'ipalib/plugins')
-rw-r--r--ipalib/plugins/cert.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/ipalib/plugins/cert.py b/ipalib/plugins/cert.py
index 743fb4d39..341bdd017 100644
--- a/ipalib/plugins/cert.py
+++ b/ipalib/plugins/cert.py
@@ -412,9 +412,7 @@ class cert_request(VirtualCommand):
if cn != principal_name:
raise errors.ValidationError(
name='csr',
- error=_(
- "DN commonName does not match "
- "any of user's email addresses")
+ error=_("DN commonName does not match user's login")
)
# check email address