Skip to content
This repository was archived by the owner on Jun 30, 2023. It is now read-only.

Commit 0c40439

Browse files
committed
Give back the user on user creation
1 parent b083286 commit 0c40439

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/opensource_challenge_web/controllers/session_controller.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ defmodule OpensourceChallengeWeb.SessionController do
7575

7676
user = Repo.get_by(User, github_login: github_user["login"])
7777
Logger.info("User #{user.email} just created")
78+
user
7879

7980
user ->
8081
user

0 commit comments

Comments
 (0)