Jump to content

data saving checkbox


Kelly003

Recommended Posts

Here my idea You could store informations, the login and the hashed passeword in a client side file. See File functions in the wiki. And you could use JSON as a file format : see toJSON / fromJSON functions. 

Edited by Mkl
Link to post
  • Scripting Moderators
On 10/06/2021 at 21:27, Kelly003 said:

Hi, how to do something like this when the checkbox is selected in the login panel, it saves the data (login and password)

There's a guide for this -

See How to add "remember me" functionality. You shouldn't store password on client-side, even encoded.

Link to post
  • Moderators
20 hours ago, Mkl said:

Apparently what I said is a big mistake, please do not consider my previous message

As long as you work with hashed passwords and not just encryption (decryption serverside), it should be fine. Working with real passwords (even when encrypted) is the reason why it shouldn't be done. When the 'remember me' is checked, the password field should be disabled and not be filled in. (or even the form shouldn't be showed)

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...