various: Fix typos (#1311)

This commit is contained in:
Rosemary Orchard
2024-02-12 23:52:11 +00:00
committed by GitHub
parent a64f3e8082
commit 23ba720d4f
2 changed files with 3 additions and 3 deletions

View File

@@ -237,10 +237,10 @@ class EufyPlugin extends ScryptedDeviceBase implements DeviceProvider, Settings
this.client.on('device added', this.deviceAdded.bind(this));
this.client.on('station added', this.stationAdded.bind(this));
this.client.on('tfa request', () => {
this.log.a('Login failed: 2FA is enabled, check your email or texts for your code, then enter it into the Two Factor Code setting to conplete login.');
this.log.a('Login failed: 2FA is enabled, check your email or texts for your code, then enter it into the Two Factor Code setting to complete login.');
});
this.client.on('captcha request', (id, captcha) => {
this.log.a(`Login failed: Captcha was requested, fill out the Captcha setting to conplete login. </br> <img src="${captcha}" />`);
this.log.a(`Login failed: Captcha was requested, fill out the Captcha setting to complete login. </br> <img src="${captcha}" />`);
this.storageSettings.putSetting('captchaId', id);
});
this.client.on('connect', () => {

View File

@@ -171,7 +171,7 @@ class RingPlugin extends ScryptedDeviceBase implements DeviceProvider, Settings
}
catch (e) {
if (this.loginClient.promptFor2fa) {
this.log.a('Check your email or texts for your Ring login code, then enter it into the Two Factor Code setting to conplete login.');
this.log.a('Check your email or texts for your Ring login code, then enter it into the Two Factor Code setting to complete login.');
return;
}
this.console.error(e);