Share your repls and programming experiences

← Back to all posts
Admin Login v0.0.1
[deleted]

For people that want a login system here it is.

Voters
NotInnit
Comments
hotnewtop
RohilPatel

Very low effort: 8 lines doesn't seem like something of high effort without some sort of error.

CoolCoderSJ

1) You should always keep passwords in .env files. To set a value in a .env you would do

Then to get the pass in main.py you would do

Also this system would only work on repl.it or a local machine, as those two are the only ones that support .env

AloegelhiPlaysR

But actually this is not secure. and low effort.

AloegelhiPlaysR

Great. Thanks.