diff libervia/common/constants.py @ 1164:ef3adc3f2078

handle invalid certificate on registration + fixed error handling on registration
author Goffi <goffi@goffi.org>
date Sun, 03 Mar 2019 17:14:27 +0100
parents cd6dd7f66551
children cc16d93d4181
line wrap: on
line diff
--- a/libervia/common/constants.py	Sat Mar 02 18:44:20 2019 +0100
+++ b/libervia/common/constants.py	Sun Mar 03 17:14:27 2019 +0100
@@ -44,6 +44,7 @@
     PROFILE_LOGGED = "LOGGED"
     PROFILE_LOGGED_EXT_JID = "LOGGED (REGISTERED WITH EXTERNAL JID)"
     ALREADY_EXISTS = "ALREADY EXISTS"
+    INVALID_CERTIFICATE = "INVALID CERTIFICATE"
     REGISTRATION_SUCCEED = "REGISTRATION"
     INTERNAL_ERROR = "INTERNAL ERROR"
     INVALID_INPUT = "INVALID INPUT"