"SELECT * FROM device_tokens WHERE user_id=%s AND hashed_token=%s",
(secure_token,hashed_token))
(user_id,hashed_token))
existing=cursor.fetchone()
ifexisting:
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.