Browse Source

one more correct status for ctt

Stasik0 8 years ago
parent
commit
60f59a1470
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/server/ua_services_session.c

+ 1 - 1
src/server/ua_services_session.c

@@ -58,7 +58,7 @@ Service_ActivateSession(UA_Server *server, UA_SecureChannel *channel, UA_Session
         UA_LOG_INFO_SESSION(server->config.logger, session, "ActivateSession: SecureChannel %i wants "
                             "to activate, but the UserIdentify token is invalid",
                             channel->securityToken.channelId);
-        response->responseHeader.serviceResult = UA_STATUSCODE_BADINTERNALERROR;
+        response->responseHeader.serviceResult = UA_STATUSCODE_BADIDENTITYTOKENINVALID;
         return;
     }