Skip to content

Commit 5a3927f

Browse files
committed
add logging to login
1 parent 0aae53a commit 5a3927f

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ RUN apt-get -yq update && \
66
apt-get -yq --no-install-recommends install gcc libsasl2-dev libldap2-dev libssl-dev git && \
77
apt-get -yq clean all
88

9-
RUN mkdir /opt/profiles
10-
119
WORKDIR /opt/profiles
1210

1311
RUN pip install --upgrade pip

profiles/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
@auth.oidc_auth("default")
8383
@before_request
8484
def home(info=None):
85+
print(session["userinfo"], info)
8586
return redirect("/user/" + info["uid"], code=302)
8687

8788

0 commit comments

Comments
 (0)