MCPcopy
hub / github.com/diffgram/diffgram / is_support_user

Method is_support_user

shared/database/user.py:155–163  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

153
154
155 def is_support_user(self):
156 try:
157 domain_name = self.email.split('@')[1]
158 except:
159 domain_name = None
160 if domain_name == 'diffgram.com':
161 return True
162
163 return False
164
165 def bind_to_oidc_login(self, session, oidc_id):
166 self.oidc_id = oidc_id

Callers 1

innerMethod · 0.80

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected