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

Method clearUserSpecificLocalStorage

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

Source from the content-addressed store, hash-verified

1017 }
1018
1019 clearUserSpecificLocalStorage () {
1020 for (const key of ['hoc-campaign']) { storage.remove(key) }
1021 userUtils.removeLibraryKeys()
1022 const userId = this.get('_id') || this.id
1023 if (userId) { userUtils.clearActivityStatusCache(userId) }
1024 }
1025
1026 signupWithPassword (name, email, password, options = {}) {
1027 options.url = _.result(this, 'url') + '/signup-with-password'

Callers 3

spyMethod · 0.95
stopSpyingMethod · 0.95
logoutMethod · 0.95

Calls 2

getMethod · 0.95

Tested by

no test coverage detected