Skip to content

Commit 55d96e6

Browse files
committed
Some random changes
1 parent e1cc2f2 commit 55d96e6

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
env/
1+
venv/
22
__pycache__/
33
.git
44
frontend/node_modules

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ADD .env .
66
RUN export $(cat .env | xargs)
77
RUN npm run build
88

9-
FROM python:3.7.7-buster
9+
FROM python:3.8.3-buster
1010
WORKDIR /www
1111
ADD backend .
1212
ADD .env .

backend/PyMatcha/routes/api/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def request_new_email_conf():
246246
else:
247247
if u.is_confirmed:
248248
current_app.logger.debug("/auth/confirm/new -> User found, Already confirmed.")
249-
pass
249+
return Success("User already confirmed")
250250
else:
251251
current_app.logger.debug("/auth/confirm/new -> User found, sending new confirmation email")
252252
token = generate_confirmation_token(email=email, token_type="confirm")

backend/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ black==19.10b0
2525
pre-commit==2.4.0
2626

2727
names==0.3.0
28-
lorem==0.1.1
28+
lorem==0.1.1
29+
future

0 commit comments

Comments
 (0)