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

Method loginEdLinkUser

app/models/User.js:1130–1137  ·  view source on GitHub ↗
(code, options = {})

Source from the content-addressed store, hash-verified

1128 }
1129
1130 loginEdLinkUser (code, options = {}) {
1131 options.url = '/auth/login-ed-link'
1132 options.type = 'POST'
1133 options.xhrFields = { withCredentials: true }
1134 if (options.data == null) { options.data = {} }
1135 options.data.code = code
1136 return this.fetch(options)
1137 }
1138
1139 loginPasswordUser (usernameOrEmail, password, options = {}) {
1140 options.xhrFields = { withCredentials: true }

Callers

nothing calls this directly

Calls 1

fetchMethod · 0.45

Tested by

no test coverage detected