修复登录460问题 #459

This commit is contained in:
binaryify
2019-04-09 16:08:41 +08:00
parent 4555c12959
commit af8355f609
4 changed files with 6 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@
const crypto = require('crypto')
module.exports = (query, request) => {
query.cookie.os = 'pc'
const data = {
username: query.email,
password: crypto.createHash('md5').update(query.password).digest('hex'),