diff --git a/endpoints/common.py b/endpoints/common.py index 50eccc0f4..6a18d1f0b 100644 --- a/endpoints/common.py +++ b/endpoints/common.py @@ -98,9 +98,6 @@ def common_login(db_user, permanent_session=True): logger.debug('User could not be logged in, inactive?.') return False -def random_string(): - random = SystemRandom() - return ''.join([random.choice(string.ascii_uppercase + string.digits) for _ in range(8)]) def list_files(path, extension): import os