dsfsdf
This commit is contained in:
parent
973bc94b24
commit
19271a4d45
4 changed files with 10 additions and 15 deletions
|
@ -300,8 +300,7 @@ class User(Base):
|
|||
@lazy
|
||||
def formkey(self):
|
||||
|
||||
if "session_id" not in session:
|
||||
session["session_id"] = token_hex(50)
|
||||
if "session_id" not in session: session["session_id"] = token_hex(52)
|
||||
|
||||
msg = f"{session['session_id']}+{self.id}+{self.login_nonce}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue