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

Function signupWithPassword

app/core/api/users.js:23–30  ·  view source on GitHub ↗
({ userID, name, email, password }, options)

Source from the content-addressed store, hash-verified

21 },
22
23 signupWithPassword ({ userID, name, email, password }, options) {
24 if (options == null) { options = {} }
25 return fetchJson(this.url(userID, 'signup-with-password'), _.assign({}, options, {
26 method: 'POST',
27 credentials: 'include',
28 json: { name, email, password }
29 }))
30 },
31
32 signupWithFacebook ({ userID, name, email, facebookID }, options) {
33 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected