Discuss / Python / 問題2にはただ一つの文を付けて通じます (≧∇≦)

問題2にはただ一つの文を付けて通じます (≧∇≦)

Topic source

浴火化影

#1 Created at ... [Delete] [Delete and Lock User]
def login(username, password):
    user = db[username]
    password=password+user.salt
    return user.password == get_md5(password)

浴火化影

#2 Created at ... [Delete] [Delete and Lock User]

然后,不是说要加入用户名吗,结果并没有加(´・ω・`)


  • 1

Reply