Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
196
def
setSecureCookie(user_db):
197
cookie_hash = hashing_functions.make_secure_val(user_db.id)
198
login_session[
'user_id'
] = cookie_hash
199
200
201
def
get_session_string():
Callers
3
first_stage_login_success
Function · 0.90
verify_otp_from_web
Function · 0.90
set_password_and_login_history
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected