MCPcopy Index your code
hub / github.com/diffgram/diffgram / setSecureCookie

Function setSecureCookie

shared/helpers/permissions.py:196–198  ·  view source on GitHub ↗
(user_db)

Source from the content-addressed store, hash-verified

194
195
196def setSecureCookie(user_db):
197 cookie_hash = hashing_functions.make_secure_val(user_db.id)
198 login_session['user_id'] = cookie_hash
199
200
201def get_session_string():

Callers 3

verify_otp_from_webFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected