Replit Secrets
ruiwenge2

I'm kind of confused about Replit secrets. I tried using it by setting the key number to 2. Then I tried printing out the value. It worked when I was logged in, but not when I tried to see what would happen if I was logged out. I thought that Replit secrets were so that other people can't see the secret value in the code, but they could still use it?

You are viewing a single comment. View All
Answered by OldWizard209 [earned 5 cycles]
View Answer
ruiwenge2

@OldWizard209 I am asking this question because i'm trying to create this thing that can send emails, which requires my gmail password. So i used a replit secret. But there is a key error if people who aren't me try to send emails