()
| 8 | |
| 9 | class Admin extends AddressComponent { |
| 10 | constructor(){ |
| 11 | super() |
| 12 | this.login = this.login.bind(this) |
| 13 | this.register = this.register.bind(this) |
| 14 | this.encryption = this.encryption.bind(this) |
| 15 | this.updateAvatar = this.updateAvatar.bind(this) |
| 16 | } |
| 17 | async login(req, res, next){ |
| 18 | const form = new formidable.IncomingForm(); |
| 19 | form.parse(req, async (err, fields, files) => { |
nothing calls this directly
no outgoing calls
no test coverage detected