Share your repls and programming experiences

← Back to all posts
My working login system
h
JacobMcPherson1 (194)

This took a while to make so I hope you all enjoy it!

Comments
hotnewtop
peternielsen112 (39)

Reasons why this is POG:

  • It's POG.
  • It's VERY POG.
  • It's EXTREMELY POG.
  • It's VERY EXTREMELY POG.

"This program is the most POG thing I've ever seen, to be honest.
-A totally real person (me)

peternielsen112 (39)

Edit: VERY noice. Also P O G

POG

POG

POG

POG

POG
POG
Everyone dies, if you tell the story long enough.
JacobMcPherson1 (194)

@peternielsen112 OH MY GOD MY EGO LEVEL IS OVER 9000

JacobMcPherson1 (194)

@19aziz5675 why you want edit access to this?

19aziz5675 (0)

@JacobMcPherson1
I meant to fork it also I found that it doesn't work unless you fork it

JacobMcPherson1 (194)

@19aziz5675 It doesnt work unless you fork it?

19aziz5675 (0)

@JacobMcPherson1
Yeah it shows an error but it doesn't seem to be working now

JacobMcPherson1 (194)

@19aziz5675 can you send me a screenshot of the error so I can fix it?

JacobMcPherson1 (194)

@19aziz5675 It works for me but there might still be something wrong

19aziz5675 (0)

@JacobMcPherson1
I cant seem to get it back but if I do ill send it to you

19aziz5675 (0)

@JacobMcPherson1

I have an idea for this cause all you can do now is sign up / log in and check the time but can you make apps or something more to do if this isn't possible its okay but good job anyways!

JacobMcPherson1 (194)

@19aziz5675 Ill try to update it and add apps in the future but for now, I have to focus on schoolwork

[deleted]

you should do itll be easier

oneor2.lower
2plus2is4hoi (94)

if you make your username 1 and password 1 it breaks the entire thing

JacobMcPherson1 (194)

@2plus2is4hoi Did you sign up and make your user and password 1 and then login. or did you just login?

JacobMcPherson1 (194)

@2plus2is4hoi You have to sign up before you login. I probably should have made that more clear

[deleted]

try puuting a while loop like this

var = 1
while var == 1:
  login()
if conditions = 'met'
  var = 2
else:
  continue()
  
JacobMcPherson1 (194)

@snekattack I would do that, but if I mess it up and get an error when I try to run the program, it'll wipe the usernames and passwords

[deleted]

@JacobMcPherson1 it wont, the only way to do that is

del db['key']
[deleted]

@JacobMcPherson1 heres a small amount of my program

def signup()
 var = 1
 while var == 1:
  newuser = input('what do you want you username to be')
  db['user'] = newuser
  if newuser not in db:
   print('verified')
   var = 2
  else:
   print('not verified')
 
[deleted]

and it works