diff --git a/app/assets/stylesheets/pages/login.scss b/app/assets/stylesheets/pages/login.scss
index dd27a06fcd2f344ca224dd75f4c11fbf0cadce82..712bd3da22fb8c1417edd4aeab4e6fd3c3fc5c96 100644
--- a/app/assets/stylesheets/pages/login.scss
+++ b/app/assets/stylesheets/pages/login.scss
@@ -105,19 +105,19 @@
     li {
       flex: 1;
       text-align: center;
+      border-left: 1px solid $border-color;
 
       &:first-of-type {
+        border-left: none;
         border-top-left-radius: $border-radius-default;
       }
 
       &:last-of-type {
-        border-left: 1px solid $border-color;
         border-top-right-radius: $border-radius-default;
       }
 
       &:not(.active) {
         background-color: $gray-light;
-        border-left: 1px solid $border-color;
       }
 
       a {
diff --git a/changelogs/unreleased/24941-login-tabs-border.yml b/changelogs/unreleased/24941-login-tabs-border.yml
new file mode 100644
index 0000000000000000000000000000000000000000..b06c21ad71a1c10fa125fd047f91d2a57e9963c1
--- /dev/null
+++ b/changelogs/unreleased/24941-login-tabs-border.yml
@@ -0,0 +1,4 @@
+---
+title: fix border in login session tabs
+merge_request: 8346
+author: