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>
This commit is contained in:
Petr Vobornik
2015-07-09 11:58:30 +02:00
parent 0b943f3ce9
commit f0e88e9b13
+1 -3
View File
@@ -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