修复 typo 引发的巨大bug
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
9fb90bef0e
commit
815d22d50c
|
@ -122,7 +122,7 @@ export async function getPlayerSerialization(player) {
|
|||
name: player.username,
|
||||
properties: [
|
||||
{
|
||||
name: "texturs",
|
||||
name: "textures",
|
||||
value: val,
|
||||
signature: ImageSecurity.sign(val),
|
||||
}
|
||||
|
|
|
@ -274,13 +274,13 @@ export const register = {
|
|||
})
|
||||
}
|
||||
|
||||
const textues = { }
|
||||
const textures = { }
|
||||
|
||||
if(textureMigrations) {
|
||||
textues.skin = textureMigrations.skin ?? defaultSkin
|
||||
textures.skin = textureMigrations.skin ?? defaultSkin
|
||||
|
||||
if(textureMigrations.cape != 0 && textureMigrations.cape) {
|
||||
textues.cape = textureMigrations.cape
|
||||
textures.cape = textureMigrations.cape
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -311,7 +311,7 @@ export const register = {
|
|||
msg: "邀请码验证失败!非法邀请码!"
|
||||
})
|
||||
}
|
||||
if(fields.get('t') !== email) {
|
||||
if(fields.get('p') !== email) {
|
||||
return await rep.code(200).send({
|
||||
err: 1.143688,
|
||||
msg: "邀请码验证失败!这邀请码不属于你!"
|
||||
|
@ -327,7 +327,7 @@ export const register = {
|
|||
registerDate: Date.now(),
|
||||
permissions: ['login'],
|
||||
binding: {
|
||||
platform: fields.get('p'),
|
||||
platform: fields.get('t'),
|
||||
username: fields.get('n'),
|
||||
verified: true,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue