Skip to content

Commit 9705bed

Browse files
Marijn0MichaIng
andauthored
review suggestion update function name
Co-authored-by: MichaIng <micha@dietpi.com>
1 parent 4462009 commit 9705bed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

motioneye/handlers/login.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def post(self) -> None:
140140
return self.finish_json({'error': 'invalid credentials'})
141141

142142
session_id = create_session(user_type)
143-
self.set_secure_cookie(
143+
self.set_signed_cookie(
144144
'user',
145145
session_id,
146146
expires_days=session_expiry_seconds(user_type) / 86400,

0 commit comments

Comments
 (0)