# Htpasswd protection blocks panel login

**URL:** <https://forum.getkirby.com/t/htpasswd-protection-blocks-panel-login/23218>\
**Category:** Questions\
**Tags:** v3\
**Created:** [August 25, 2021, 11:30am UTC](https://forum.getkirby.com/t/htpasswd-protection-blocks-panel-login/23218 "2021-08-25T11:30:52Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Adspectus](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/adspectus/32/189_2.png) [@Adspectus](https://forum.getkirby.com/u/Adspectus)\
**Post date:** [August 25, 2021, 4:36pm UTC](https://forum.getkirby.com/t/htpasswd-protection-blocks-panel-login/23218/7 "2021-08-25T16:36:38Z")

</div>

Did you perhaps set `'api' => ['basicAuth' => true]` in the `config.php`? Then the panel tries to log you in with the basic auth credentials - which won’t work if the credentials does not match.

---

_[View the full topic](https://forum.getkirby.com/t/htpasswd-protection-blocks-panel-login/23218)._
