Closed cybermcm closed 6 months ago
This feature will be included together with the admin panel feature (#1). That feature is all about "management", so it's fitting if this gets done together with that.
You said that you'd set the cookie lifetime to forever. This suggests that you basically want to disable password auth. I can understand that if you're the only one using it and/or don't have it port forwarded. I want to add a feature to the admin panel where you can disable password auth. This does force the following rules:
Sounds good? Again, this is on top of being able to stay logged in for X time. I just think that that will be a better option for you when it comes out than setting the lifetime to forever \:)
@Casvt: Thank you for your detailed answer! My use case is slightly different to your description. I'm self-hosting, and I want to share this service with my family, so only one admin account is not my intention. I'm using MIND with my mobile phone to track reminders, and it is not practical to log on every time I want to use the service. So currently the best solution would be to log on and stay logged in (using Chrome mobile browser).
Oh okay. Then the lifetime option will still just work for you.
Hey there, it's been a bit of time but I'm working on MIND again and am looking at adding your request soon.
I've looked at the relevant code and this is the current situation:
Based on this, we would need to do two things to achieve what you want:
Point 1 can be done right now. Point 2 will be included in the admin panel update. Does that sound good?
@Casvt: Thanks for taking your time and working on the project again! Your points sound reasonable and fine! Just an additional question: Is the key lifetime extended if I use the page, so that the lifetime is extended every time I use the service or is this a fixed date and e.g. after one month I have to relogin again?
Both can be done. I'll make it an option in the admin panel:
"Expire key after given amount of time starting from:
Describe the solution you'd like Like your project, clean and simple! A request: Currently, it is necessary to log on every time I use it. There is no cookie set to stay connected, which would simplify its usage. Cookie lifetime should be variable, I'd set it to forever. Thanks