diff --git a/lib/bones73k_web/templates/layout/_navbar.html.eex b/lib/bones73k_web/templates/layout/_navbar.html.eex
index 998e9cc..ccc5d0d 100644
--- a/lib/bones73k_web/templates/layout/_navbar.html.eex
+++ b/lib/bones73k_web/templates/layout/_navbar.html.eex
@@ -3,16 +3,23 @@
@@ -48,7 +55,18 @@
<%# nav RIGHT items %>
- <%= render "navbar/_user_menu.html", assigns %>
+ <%= if @current_user do %>
+
+ <%= render "navbar/_user_menu.html", assigns %>
+
+ <% else %>
+
+ <%= link nav_link_opts(@conn, to: Routes.user_session_path(@conn, :new), class: "btn btn-outline-dark d-none d-lg-block") do %>
+ <%= icon_div @conn, "bi-door-open", [class: "icon baseline"] %>
+ Log in
+ <% end %>
+
+ <% end %>
diff --git a/lib/bones73k_web/templates/layout/navbar/_user_menu.html.eex b/lib/bones73k_web/templates/layout/navbar/_user_menu.html.eex
index 89b81f5..bd01251 100644
--- a/lib/bones73k_web/templates/layout/navbar/_user_menu.html.eex
+++ b/lib/bones73k_web/templates/layout/navbar/_user_menu.html.eex
@@ -1,12 +1,3 @@
-<%= if !@current_user do %>
-
- <%= link nav_link_opts(@conn, to: Routes.user_session_path(@conn, :new), class: "btn btn-outline-light") do %>
- <%= icon_div @conn, "bi-door-open", [class: "icon baseline"] %>
- Log in
- <% end %>
-
-<% else %>
-
-
-<% end %>
diff --git a/priv/repo/seeds.exs b/priv/repo/seeds.exs
index 5545d62..5ba64ef 100644
--- a/priv/repo/seeds.exs
+++ b/priv/repo/seeds.exs
@@ -22,7 +22,7 @@ alias Bones73k.Properties.Property
{:ok, admin} =
Accounts.register_user(%{
email: "admin@company.com",
- password: "123456789abc",
+ password: "123456789abC",
password_confirmation: "123456789abc",
role: Accounts.registration_role()
})
@@ -30,7 +30,7 @@ alias Bones73k.Properties.Property
{:ok, user_1} =
Accounts.register_user(%{
email: "user1@company.com",
- password: "123456789abc",
+ password: "123456789abC",
password_confirmation: "123456789abc",
role: Accounts.registration_role()
})
@@ -38,7 +38,7 @@ alias Bones73k.Properties.Property
{:ok, user_2} =
Accounts.register_user(%{
email: "user2@company.com",
- password: "123456789abc",
+ password: "123456789abC",
password_confirmation: "123456789abc",
role: Accounts.registration_role()
})