feat(webui): add list of owned warframes & weapons with "Make Rank 30" option #170
@ -18,7 +18,7 @@ const loginController: RequestHandler = async (request, response) => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    const account = await Account.findOne({ email: loginRequest.email }); //{ _id: 0, __v: 0 }
 | 
					    const account = await Account.findOne({ email: loginRequest.email }); //{ _id: 0, __v: 0 }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (!account && config.autoCreateAccount) {
 | 
					    if (!account && config.autoCreateAccount && loginRequest.ClientType != "webui") {
 | 
				
			||||||
        try {
 | 
					        try {
 | 
				
			||||||
            const newAccount = await createAccount({
 | 
					            const newAccount = await createAccount({
 | 
				
			||||||
                email: loginRequest.email,
 | 
					                email: loginRequest.email,
 | 
				
			||||||
 | 
				
			|||||||
@ -15,7 +15,7 @@ function loginFromLocalStorage() {
 | 
				
			|||||||
            s: "W0RFXVN0ZXZlIGxpa2VzIGJpZyBidXR0cw==", // signature of some kind
 | 
					            s: "W0RFXVN0ZXZlIGxpa2VzIGJpZyBidXR0cw==", // signature of some kind
 | 
				
			||||||
            lang: "en",
 | 
					            lang: "en",
 | 
				
			||||||
            date: 1501230947855458660, // ???
 | 
					            date: 1501230947855458660, // ???
 | 
				
			||||||
            ClientType: "",
 | 
					            ClientType: "webui",
 | 
				
			||||||
            PS: "W0RFXVN0ZXZlIGxpa2VzIGJpZyBidXR0cw==" // anti-cheat data
 | 
					            PS: "W0RFXVN0ZXZlIGxpa2VzIGJpZyBidXR0cw==" // anti-cheat data
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user