MCPcopy Create free account
hub / github.com/bailicangdu/node-elm / constructor

Method constructor

controller/v2/user.js:11–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9
10class User extends AddressComponent {
11 constructor(){
12 super()
13 this.login = this.login.bind(this);
14 this.encryption = this.encryption.bind(this);
15 this.chanegPassword = this.chanegPassword.bind(this);
16 this.updateAvatar = this.updateAvatar.bind(this);
17 }
18 async login(req, res, next){
19 const cap = req.cookies.cap;
20 if (!cap) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected