Bug #519

Videos5 should not ask for the PIN every time

Added by cpg over 10 years ago. Updated over 10 years ago.

Target version:
Start date:
Due date:
% Done:



the PIN feature is great, however, it's annoying factor is high.

maybe better to store it in a cookie and let the main user determine the default timeout for the pin?
(1 hour, 1 day, 1 week, forever?)


#1 Updated by gboudreau over 10 years ago

  • Status changed from New to Feedback

The PIN should only be asked when switching to a protected user profile. Then remembered until you close the browser, or switch profile.
When you do one of those things, that means someone else can or has picked up the device. I can't let that someone else access your protected account by remembering the PIN you entered in the past.
That's why the PIN is only remembered until you switch user account, or close the browser.

If you're in an environment where you don't need a PIN, you can edit the existing users, or create new ones & delete the default ones.
While logged as an admin (Encoder is one by default), click "User Profiles", then "Edit".

#2 Updated by cpg over 10 years ago

yea, however, i can do this (with the default):

Go to Encoder > PIN > Inside

Then push the home button

Go to Encoder ... It asks for the pin again

this is with Safari. all cookies accepted (Safari is my bitch)

#3 Updated by cpg over 10 years ago

cleared all the cookies in safari

entered the pin as encoder

see a cookie videos5_user with path / and content 1

click on home ..
the cookie is gone!

#4 Updated by gboudreau over 10 years ago

If that's your use-case, then your problem isn't with the PIN or cookie, it's with the home button. You expected it to do something else than what it does...
The homepage is used as the page you should go to when your done with videos5, and someone else could pick up the device / use the computer.
As such, once your logged in, the home button act as a log out. I should rename that button log out, and create a new home button that send you to the root of the videos5 filesystem, where you can start browsing dirs & files. I guess that's what you wanted the home button to do, right?

#5 Updated by cpg over 10 years ago

  • Status changed from Feedback to Closed
  • Assignee set to gboudreau

i see. i guess i was not expecting it to do that.

perhaps a "Done" or "Logout" button might be good.

one minor suggestion: if the set of paths are just one, which i think it's the common case, just show the root of that path directly. only show multiple when paths.count > 1. does that make sense?

also, for my info, is there a git repo for this app?

as i was debugging last night i was not sure what changed (it was working at home!).

needless to say, you are more than welcome to put it under apps/ in the amahi git repo.

#6 Updated by gboudreau over 10 years ago

No code repo yet. Will publish on Google Code later on.

Hide root page if it contains only one path: good idea. Was on the todo already.
Also need to hide paths not available to the current user, if he's limited by allowed ratings.

Will implemented logout vs home buttons.

Also available in: Atom