# "Login with password key" Removing the Button

**URL:** https://meta.discourse.org/t/login-with-password-key-removing-the-button/296210
**Category:** Support
**Created:** [February 21, 2024, 5:32pm UTC](https://meta.discourse.org/t/login-with-password-key-removing-the-button/296210 "2024-02-21T17:32:47Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [February 21, 2024, 5:36pm UTC](https://meta.discourse.org/t/login-with-password-key-removing-the-button/296210/2 "2024-02-21T17:36:25Z")

</div>

You can hide it with some CSS in a theme component, something like this should work:

```css
.passkey-login-button {
  display: none;
}

```

That only hides the button, it still allows users to create and login with passkeys via autocomplete in the main login form (on the left of your screenshot).

---

_[View the full topic](https://meta.discourse.org/t/login-with-password-key-removing-the-button/296210)._
