diff options
Diffstat (limited to 'ipsilon/providers/saml2')
-rwxr-xr-x | ipsilon/providers/saml2/provider.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipsilon/providers/saml2/provider.py b/ipsilon/providers/saml2/provider.py index b6ed4bf..c44c8b8 100755 --- a/ipsilon/providers/saml2/provider.py +++ b/ipsilon/providers/saml2/provider.py @@ -33,8 +33,8 @@ class InvalidProviderId(ProviderException): class NameIdNotAllowed(Exception): - def __init__(self): - message = 'The specified Name ID is not allowed' + def __init__(self, id): + message = 'Name ID [%s] is not allowed' % id super(NameIdNotAllowed, self).__init__(message) self.message = message |