chatgpt-demo icon indicating copy to clipboard operation
chatgpt-demo copied to clipboard

Could you implement "sweetalert" for password protection?

Open Root-FTW opened this issue 1 year ago • 5 comments

Clear and concise description of the problem

Actually pass my vercel subdomain to my friends, but I am afraid that more people will access it and take advantage of my key. (take advantage to use a lot and openai charges me a lot.)

Suggested solution

I would like to share this project working with my chatgt key, but I only want my friends to have access. I think with SweetAlert you can implement passwords.

Alternative

No response

Additional context

Could you implement "sweetalert" for password protection?

I would like to share this project working with my chatgt key, but I only want my friends to have access. I think with SweetAlert you can implement passwords.

Actually pass my vercel subdomain to my friends, but I am afraid that more people will access it and take advantage of my key. (take advantage to use a lot and openai charges me a lot.)

Thanks !

Validations

  • [X] Follow our Code of Conduct
  • [X] Read the Contributing Guide.
  • [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Root-FTW avatar Mar 06 '23 21:03 Root-FTW

Yes, password-protecting is important. I would prefer to provide a gateway page as the site entry.

ddiu8081 avatar Mar 07 '23 06:03 ddiu8081

Yes, password-protecting is important. I would prefer to provide a gateway page as the site entry.

That would be great, thank you very much for making it possible, I will keep an eye on your code for when this improvement arrives.

Thank you!

Root-FTW avatar Mar 07 '23 06:03 Root-FTW

Added in #190 .

ddiu8081 avatar Mar 08 '23 17:03 ddiu8081

Added in #190 .

It did not work in vercel, I deployed the project again and entered the password variable, I assigned a password but when I visit my subdomain in vercel it still does not ask for the password.

Root-FTW avatar Mar 08 '23 19:03 Root-FTW

Added in #190 .

Could you suggest some option for user and password registration, with the option of approval by the administrator?

felipfr avatar Mar 09 '23 04:03 felipfr

Added in #190 .

Could you suggest some option for user and password registration, with the option of approval by the administrator?

This would be great

Root-FTW avatar Mar 16 '23 19:03 Root-FTW

This would be great

Let's carry it in #201.

ddiu8081 avatar Mar 17 '23 01:03 ddiu8081