diff --git a/galaxy_ng/social/pipeline/user.py b/galaxy_ng/social/pipeline/user.py index e402f7ca28..228f5abb51 100644 --- a/galaxy_ng/social/pipeline/user.py +++ b/galaxy_ng/social/pipeline/user.py @@ -93,7 +93,7 @@ def create_user(strategy, details, backend, user=None, *args, **kwargs): } new_user = strategy.create_user(**fields) - print(f'create_user(10): {new_user}') + logger.info(f'create_user(10): {new_user}') return { 'is_new': True, 'user': new_user diff --git a/profiles/community/github_mock/Dockerfile b/profiles/community/github_mock/Dockerfile index 346f55ae1e..4fb8c95267 100644 --- a/profiles/community/github_mock/Dockerfile +++ b/profiles/community/github_mock/Dockerfile @@ -6,4 +6,4 @@ RUN pip install -r /app/requirements.txt RUN mkdir -p /src RUN test -d /src/werkzeug || git clone -b SAVE_THE_STREAMS https://github.com/jctanner/werkzeug /src/werkzeug RUN pip install -e /src/werkzeug -CMD python3 /app/flaskapp.py +CMD PYTHONUNBUFFERED=1 python3 /app/flaskapp.py diff --git a/profiles/community/github_mock/flaskapp.py b/profiles/community/github_mock/flaskapp.py index 86e76215fe..9be83ec1e0 100644 --- a/profiles/community/github_mock/flaskapp.py +++ b/profiles/community/github_mock/flaskapp.py @@ -106,7 +106,7 @@ def create_tables(): CREATE TABLE IF NOT EXISTS users ( id INTEGER PRIMARY KEY AUTOINCREMENT, login TEXT NOT NULL UNIQUE, - email TEXT NOT NULL UNIQUE, + email TEXT NOT NULL, password TEXT NOT NULL ) ''')