({ userID, name, email, password }, options)
| 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 = {} } |
nothing calls this directly
no outgoing calls
no test coverage detected