Hi,
I state that I have already read some discussions about session time, but without reaching a solution to the problem.
The problem is that the login time is too low.
I tried to insert in config.php:
For testing, you can use a simple string. For a permanent solution, you should use something unique, have a look at the original fingerprint and try to adapt that in a way that works for you.
I read the discussion, unfortunately I do not understand how to use it.
For example, the fingerprint method where it should be inserted? Maybe in the config.php file?
Then, maybe the fingerprint method also uses my IP address? If so, the IP address sometimes changes, so I would not solve the problem.
This method that does not use fingerprints:
$user = site()->user();
if($user) {
$username = $user->username();
}
should be entered in config.php?
Also, in place of “user” or “username” I have to enter the username I created during installation Kirby?
It seems to it work.
However, the method of creating finger print is not clear to me.
For example, can I use a text like “Sed ut perspiciatis unde omnis iste natus error”?
rather than: “DH/?@&%fj$K”?
The important thing is to understand what is does. The fingerprint should be different for each user, that’s why the original function uses a combination of IP and user agent string. If you only have one user, it doesn’t matter, you can just use a simple string. If you have multiple users, your fingerprint should have a dynamic part, like the user agent, the user name of whatever works best for you.