From a473d3b0032495ecc697643a15af7c918b4be752 Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Thu, 23 Apr 2015 19:35:43 -0300 Subject: Changes to streamline the session creation and authenticate with the external srp leap library --- service/pixelated/config/register.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'service/pixelated/config/register.py') diff --git a/service/pixelated/config/register.py b/service/pixelated/config/register.py index d54b10ff..8a7caa8b 100644 --- a/service/pixelated/config/register.py +++ b/service/pixelated/config/register.py @@ -15,7 +15,6 @@ # along with Pixelated. If not, see . import re -from pixelated.bitmask_libraries.leap_srp import LeapAuthException from pixelated.bitmask_libraries.register import register_new_user @@ -23,8 +22,6 @@ def register(username, server_name): try: validate_username(username) register_new_user(username, server_name) - except LeapAuthException: - print('User already exists') except ValueError: print('Only lowercase letters, digits, . - and _ allowed.') -- cgit v1.2.3