I hacked together this code. Obviously I don't know password of the user, that's the point, I authenticated the user via other custom means already, now I want to log him in. Passing a random value in password works, but this token expires / becomes invalid after like 30min or so. Then restya board just renders as blank page. I have to clear cache then login page shows up. I guess server/php/shell/main.sh running from cron is invalidating this token.
I want this token to be valid indefinitely. How can I do that?
I hacked together this code. Obviously I don't know password of the user, that's the point, I authenticated the user via other custom means already, now I want to log him in. Passing a random value in
password
works, but this token expires / becomes invalid after like 30min or so. Then restya board just renders as blank page. I have to clear cache then login page shows up. I guessserver/php/shell/main.sh
running from cron is invalidating this token.I want this token to be valid indefinitely. How can I do that?