jcubic / jquery.terminal-www

jQuery Terminal Website
http://terminal.jcubic.pl
34 stars 11 forks source link

automatic authentication #16

Closed o-ayoub closed 4 years ago

o-ayoub commented 5 years ago

Hello, Is it possible to make authentication automatically without prompt user to enter a username & password. When the page is loaded, auto login using a username and password; of course if there is invalid credentials, show a message error. Thanks

jcubic commented 5 years ago

Yes but only if you use user and token. You can't auto login with password.

jcubic commented 5 years ago

This is was only create for case when you have two tabs open and you login to one and want to be logged in into second one. Maybe there will be possible to make it to accept the password as well, not sure how the API should look like because it now have 2 parameters user and token maybe 3rd parameter. Here are docs for the function/method.

jcubic commented 5 years ago

Sorry didn't notice that you ask in jQuery Terminal website page. For what you want to login?

jcubic commented 4 years ago

no reply. closing