Skip to content

Commit 6c90d3a

Browse files
authored
fix: better error message
1 parent ab876b8 commit 6c90d3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/FrameworkSystem/private/authorization/AuthServer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def parseIdPAuthorizationResponse(self, response, session):
295295
# Is ID registred?
296296
result = getUsernameForDN(credDict["DN"])
297297
if not result["OK"]:
298-
comment = "Your ID is not registred in the DIRAC: %s. " % credDict["ID"]
298+
comment = "ID %s is not registred in DIRAC." % credDict["ID"]
299299
payload.update(idpObj.getUserProfile().get("Value", {}))
300300
result = self.__registerNewUser(providerName, payload)
301301

0 commit comments

Comments
 (0)