# Kirby Login not possible, only from private mode in browser

**URL:** <https://forum.getkirby.com/t/kirby-login-not-possible-only-from-private-mode-in-browser/27492>\
**Category:** Questions\
**Tags:** v3\
**Created:** [January 9, 2023, 3:27pm UTC](https://forum.getkirby.com/t/kirby-login-not-possible-only-from-private-mode-in-browser/27492 "2023-01-09T15:27:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![phrank](https://avatars.discourse-cdn.com/v4/letter/p/c67d28/32.png) [@phrank](https://forum.getkirby.com/u/phrank)\
**Post date:** [January 9, 2023, 3:27pm UTC](https://forum.getkirby.com/t/kirby-login-not-possible-only-from-private-mode-in-browser/27492/1 "2023-01-09T15:27:22Z")

</div>

I am experiencing a quite strange bug. After some improvements in my newest project, i updated to the newest kirby version 3.8.3 and since then, i cant login to the panel anymore.

The error says “Ungültige Zugangsdaten” ~ Wrong login credentials

opening the console shows:

```auto
index.js:1 
{status: 'error', message: 'Ungültige Zugangsdaten', code: 403, exception: 'Kirby\\Exception\\PermissionException', key: 'error.access.login', …}
code
: 
403
details
: 
[]
exception
: 
"Kirby\\Exception\\PermissionException"
file
: 
"../../../../../../../homepages/23/d537893121/htdocs/ziski/fida/kirby/src/Cms/Auth.php"
key
: 
"error.access.login"
line
: 
566
message
: 
"Ungültige Zugangsdaten"
route
: 
"auth/login"
status
: 
"error"
[[Prototype]]
: 
Object

```

the thing is: from a regular browser tab, the error appears. When i try to login from the private mode of chrome, the login works.

i tried nearly everything:

- deleting cache folder
- deleting media folder
- deleting sessions
- deleting accounts and re-created them
- deleting accounts and create a new one form panel installation

Update:  
i thought maybe my password manager plugin is responsible for this issue, but turning it off did not solve my problem.

I deleted all accounts now and created a brand new one in the installation. After logging out again i cant access with the same credentials.

i make several new kirby pages a year and this problem only occurs in one installation. every other page can be accessed just fine…

everytime, the login wont work again, except for chrome private tab (inkognito)

has anyone an idea?

Best regards  
Frank

---

<div class="post-metadata">

**Author:** ![lukasbestle](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/lukasbestle/32/11437_2.png) [@lukasbestle](https://forum.getkirby.com/u/lukasbestle)\
**Post date:** [January 13, 2023, 11:37am UTC](https://forum.getkirby.com/t/kirby-login-not-possible-only-from-private-mode-in-browser/27492/2 "2023-01-13T11:37:22Z")

</div>

Please temporarily enable the following options in `site/config.php` to get a more useful error output:

```php
<?php

return [
  'debug' => true,
  'auth.debug' => true
];

```

Make sure to remove the options again after testing to keep your site secure.

---

<div class="post-metadata">

**Author:** ![phrank](https://avatars.discourse-cdn.com/v4/letter/p/c67d28/32.png) [@phrank](https://forum.getkirby.com/u/phrank)\
**Post date:** [January 13, 2023, 11:58am UTC](https://forum.getkirby.com/t/kirby-login-not-possible-only-from-private-mode-in-browser/27492/3 "2023-01-13T11:58:20Z")

</div>

oh great, didnt knew this is possible. The message says:

key: “error.user.notFound”

1. message: “Der Account "" wurde nicht gefunden”
2. route: “auth/login”
3. status: “error”
4. [[Prototype]]: Object

i tested this more and the error only appears in chrome normal tab. in chrome inkognito mode or other browsers i can login just normal. deleting cache and cookies does not help. very strange bug

---

<div class="post-metadata">

**Author:** ![lukasbestle](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/lukasbestle/32/11437_2.png) [@lukasbestle](https://forum.getkirby.com/u/lukasbestle)\
**Post date:** [January 27, 2023, 11:49am UTC](https://forum.getkirby.com/t/kirby-login-not-possible-only-from-private-mode-in-browser/27492/4 "2023-01-27T11:49:47Z")

</div>

Sorry for the late reply, I missed your message.

Do you use any browser extensions in Chrome that may interfere with the login form (e.g. password managers)? This would explain why it works in private browsing mode (where extensions are disabled by default).

---

<div class="post-metadata">

**Author:** ![phrank](https://avatars.discourse-cdn.com/v4/letter/p/c67d28/32.png) [@phrank](https://forum.getkirby.com/u/phrank)\
**Post date:** [January 27, 2023, 12:18pm UTC](https://forum.getkirby.com/t/kirby-login-not-possible-only-from-private-mode-in-browser/27492/5 "2023-01-27T12:18:57Z")

</div>

Yes that could be the case. deactivating the password manager works. But im curious why this happens just at one specific installation. every other page login works perfectly fine

---

<div class="post-metadata">

**Author:** ![lukasbestle](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/lukasbestle/32/11437_2.png) [@lukasbestle](https://forum.getkirby.com/u/lukasbestle)\
**Post date:** [January 27, 2023, 12:22pm UTC](https://forum.getkirby.com/t/kirby-login-not-possible-only-from-private-mode-in-browser/27492/6 "2023-01-27T12:22:26Z")

</div>

Please try updating to Kirby 3.8.4 or newer. I think we had a bug related to this in 3.8.3.

---

<div class="post-metadata">

**Author:** ![derfabifabi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/derfabifabi/32/10908_2.png) [@derfabifabi](https://forum.getkirby.com/u/derfabifabi)\
**Post date:** [March 5, 2024, 9:40am UTC](https://forum.getkirby.com/t/kirby-login-not-possible-only-from-private-mode-in-browser/27492/7 "2024-03-05T09:40:24Z")

</div>

I had the same problem.  
When I wrote this in my config.php

````auto
return [
  'debug' => true,
  'auth.debug' => true
];```

I got the error "rate limit exceeded". 
After I deleted the .logins file in the /accounts folder everything worked again. 
Maybe this helps someone
````
