Skip to content

countdown 5 minutes at each login allow kid to spend more time #23

@nicopiot

Description

@nicopiot

Hello,
I just installed kidtimer, it works pretty well, and I made a suggestion in the pull request.
The only problem I found is than when the time is finished, my kid can login again, and she will get another 5 minutes of countdown that she can use. She has done it 5 times this morning which gave her 25 more minutes than allowed.
and the user.ttl file was negative -27.
Is there a way to logout straight away if say the user.ttl file is below 5.
maybe a script file that we manually add in the user $HOME/.bash_profile? sorry if I say stupid things, I am not a programmer at all and also quite new in linux.

Anyway, if someone has a simple fix for that, I would appreciate.

thanks

Nicolas PIOT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions