mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 13:53:52 +02:00
Remove Steam auth
This commit is contained in:
@@ -1181,33 +1181,6 @@ speechSynthesis.getVoices();
|
||||
});
|
||||
};
|
||||
|
||||
/*
|
||||
params: {
|
||||
steamTicket: string
|
||||
}
|
||||
*/
|
||||
API.loginWithSteam = function (params) {
|
||||
return this.call(
|
||||
`auth/steam?apiKey=${this.cachedConfig.clientApiKey}`,
|
||||
{
|
||||
method: 'POST',
|
||||
params
|
||||
}
|
||||
).then((json) => {
|
||||
var args = {
|
||||
json,
|
||||
params,
|
||||
origin: true
|
||||
};
|
||||
if (json.requiresTwoFactorAuth) {
|
||||
this.$emit('USER:2FA', args);
|
||||
} else {
|
||||
this.$emit('USER:CURRENT', args);
|
||||
}
|
||||
return args;
|
||||
});
|
||||
};
|
||||
|
||||
/*
|
||||
params: {
|
||||
code: string
|
||||
|
||||
Reference in New Issue
Block a user