Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/foedus_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ defmodule FoedusWeb.Router do
live_session :redirect_if_user_is_authenticated,
on_mount: [{FoedusWeb.UserAuth, :redirect_if_user_is_authenticated}] do
live "/", HomeLive.Index, :index
live "/users/log_in", UserLoginLive, :new
live "/users/log_in", UserAuth.UserLoginLive, :new
live "/onboarding", OnboardingLive.Index, :index

live "/users/reset_password", UserAuth.UserForgotPasswordLive, :new
Expand Down
2 changes: 1 addition & 1 deletion test/support/factories/user_factory.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule Foedus.UserFactory do
%User{
email: Faker.Internet.email(),
hashed_password: Bcrypt.hash_pwd_salt("password123"),
company: build(:company)
company_id: insert(:company).id
}
end
end
Expand Down