diff --git a/lib/kmxgit_web/controllers/user_controller.ex b/lib/kmxgit_web/controllers/user_controller.ex
index 7d81f90..141fe01 100644
--- a/lib/kmxgit_web/controllers/user_controller.ex
+++ b/lib/kmxgit_web/controllers/user_controller.ex
@@ -30,6 +30,8 @@ defmodule KmxgitWeb.UserController do
conn
|> put_resp_content_type("image/png")
|> send_file(200, path)
+ else
+ not_found(conn)
end
end
def avatar(conn, _) do