# Can't login to adguard

**URL:** https://forum.yunohost.org/t/cant-login-to-adguard/42515
**Category:** Support apps
**Tags:** adguardhome, english
**Created:** [June 23, 2026, 9:28pm UTC](https://forum.yunohost.org/t/cant-login-to-adguard/42515 "2026-06-23T21:28:12Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)
#### Post date: [June 23, 2026, 10:32pm UTC](https://forum.yunohost.org/t/cant-login-to-adguard/42515/2 "2026-06-23T22:32:42Z")

</div>

Hello @Aristid

First of all, are you sure your admin user is `admin`? You can check this in `/var/www/adguardhome/AdGuardHome.yaml`

If you can’t change your password from webadmin you can try this

```auto
python3 -c "import bcrypt; print(bcrypt.hashpw(b\"your_new_password\", bcrypt.gensalt(rounds=10)).decode())"

```

Copy the generated hash and paste it in `/var/www/adguardhome/AdGuardHome.yaml`

```auto
users:
  - name: your_user
    password : generated_hash

```

Then

```auto
yunohost app setting adguardhome password -v 'generated_hash'
systemctl restart adguardhome

```

---

_[View the full topic](https://forum.yunohost.org/t/cant-login-to-adguard/42515)._
