shbatm / MMM-OnScreenMenu

MagicMirror² utility module that provides a simple on screen menu for control
MIT License
63 stars 22 forks source link

User Authentication #6

Closed secblizz closed 5 years ago

secblizz commented 6 years ago

Hi, I’m using OSM to control MMM-ProfileSwitcher. I would like to have a user authentication. So I tried to implement an authentication myself. When a “Notify Menu Item“ is selected a prompt() appears and the user is asked to enter a password. The only problem I got is that I can’t enter a password via my IR Touch Frame because the virtual keyboard don’t appears. Is there another way to realize a user authentication?

shbatm commented 6 years ago

You could implement something like this package: https://www.npmjs.com/package/virtual-keyboard to create an on-screen keyboard.

You would need to include jquery.js and the plugin js file using the getScripts() function of the module to be able to use it.