MCPcopy Index your code
hub / github.com/codecombat/codecombat / onClickEdlinkLoginButton

Method onClickEdlinkLoginButton

app/views/core/AuthModal.js:332–339  ·  view source on GitHub ↗
(handler)

Source from the content-addressed store, hash-verified

330 }
331
332 async onClickEdlinkLoginButton (handler) {
333 const { loggedIn } = await handler.logInWithEdlink()
334 if (loggedIn) {
335 window.location.reload()
336 } else {
337 noty({ text: $.i18n.t('login.login_failed'), layout: 'topCenter', type: 'error', timeout: 5000, killer: false, dismissQueue: true })
338 }
339 }
340
341 openRecoverModal (e) {
342 e.stopPropagation()

Callers 2

Calls 2

logInWithEdlinkMethod · 0.80
reloadMethod · 0.80

Tested by

no test coverage detected