MCPcopy Create free account
hub / github.com/codecombat/codecombat / getSlugOrID

Method getSlugOrID

app/models/User.js:221–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

219 }
220
221 getSlugOrID () { return this.get('slug') || this.get('_id') }
222
223 hasNoPasswordLoginMethod () {
224 // Return true if user has any login method that doesn't require a password

Callers 1

onLoadedMethod · 0.80

Calls 1

getMethod · 0.95

Tested by

no test coverage detected