# Installation login issues

**URL:** <https://forum.getkirby.com/t/installation-login-issues/18283>\
**Category:** Questions\
**Tags:** v3\
**Created:** [May 19, 2020, 7:07pm UTC](https://forum.getkirby.com/t/installation-login-issues/18283 "2020-05-19T19:07:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![manegame](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/manegame/32/8542_2.png) [@manegame](https://forum.getkirby.com/u/manegame)\
**Post date:** [May 19, 2020, 7:07pm UTC](https://forum.getkirby.com/t/installation-login-issues/18283/1 "2020-05-19T19:07:01Z")

</div>

Upon first installation, I am getting an invalid login error from registering a new user.  
The user folder gets created, and after I do this and navigate to panel I’m redirected to login. But all login attempts are failing.

Tried with php@7.2.

{status: “error”, exception: “Kirby\Exception\PermissionException”, message: “Invalid login”, key: “error.access.login”, file: “/Users/manus/hehehehe/hueheuehue/U\_N/piopico.la/public/kirby/src/Cms/User.php”, …}

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [May 19, 2020, 7:40pm UTC](https://forum.getkirby.com/t/installation-login-issues/18283/2 "2020-05-19T19:40:55Z")

</div>

Which Kirby version?

What gets stored in the `.htpasswd` file?

What is the full error trace? In which line exactly is the error thrown?

---

<div class="post-metadata">

**Author:** ![manegame](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/manegame/32/8542_2.png) [@manegame](https://forum.getkirby.com/u/manegame)\
**Post date:** [May 20, 2020, 7:48am UTC](https://forum.getkirby.com/t/installation-login-issues/18283/3 "2020-05-20T07:48:17Z")

</div>

Hi Texnixe!

It’s in line 371 of the User.php file in public/kirby/src/Cms/User.php

Best,

Manus

---

<div class="post-metadata">

**Author:** ![manegame](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/manegame/32/8542_2.png) [@manegame](https://forum.getkirby.com/u/manegame)\
**Post date:** [May 20, 2020, 8:12am UTC](https://forum.getkirby.com/t/installation-login-issues/18283/4 "2020-05-20T08:12:41Z")

</div>

> [@texnixe](#):
>
> What gets stored in the `.htpasswd` file?

My password, nothing else!

---

<div class="post-metadata">

**Author:** ![pixelijn](https://avatars.discourse-cdn.com/v4/letter/p/7ab992/32.png) [@pixelijn](https://forum.getkirby.com/u/pixelijn)\
**Post date:** [May 20, 2020, 8:52am UTC](https://forum.getkirby.com/t/installation-login-issues/18283/5 "2020-05-20T08:52:28Z")

</div>

A hashed password or plain text? Again, what is your Kirby version?

---

<div class="post-metadata">

**Author:** ![manegame](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/manegame/32/8542_2.png) [@manegame](https://forum.getkirby.com/u/manegame)\
**Post date:** [May 20, 2020, 1:36pm UTC](https://forum.getkirby.com/t/installation-login-issues/18283/6 "2020-05-20T13:36:39Z")

</div>

I managed to resolve this by switching PHP version to 7.3, I am using Kirby v3. The password was not hashed, now it is!

---

<div class="post-metadata">

**Author:** ![pixelijn](https://avatars.discourse-cdn.com/v4/letter/p/7ab992/32.png) [@pixelijn](https://forum.getkirby.com/u/pixelijn)\
**Post date:** [May 20, 2020, 1:42pm UTC](https://forum.getkirby.com/t/installation-login-issues/18283/7 "2020-05-20T13:42:25Z")

</div>

> [@manegame](#):
>
> The password was not hashed, now it is!

Then you were probably on PHP 7.4 with a not-up-to-date Kirby version. The current Kirby version is 3.3.6, make sure to update in any case. After the update, you can also use PHP 7.4.
