Skip to content

Modular logistics and supply chain operating system (LSOS)

feat(oauth): connected accounts on the account page

Ronald A. Richardson987b52abb5c2
diff --git a/console/app/components/account/connected-accounts.hbs b/console/app/components/account/connected-accounts.hbs
new file mode 100644
index 00000000..1cb7947d
--- /dev/null
+++ b/console/app/components/account/connected-accounts.hbs
@@ -0,0 +1,49 @@
+{{#if this.isVisible}}
+ <ContentPanel @title={{t "auth.login.oauth.connected-accounts"}} @open={{true}} @wrapperClass="bordered-classic">
+ <p class="text-sm text-gray-700 dark:text-gray-300 mb-4">{{t "auth.login.oauth.connected-accounts-help"}}</p>
+
+ <div class="space-y-2">
+ {{#each this.identities as |identity|}}
+ <div class="flex items-center justify-between rounded-md border border-gray-200 dark:border-gray-700 px-3 py-2">
+ <div class="flex items-center">
+ {{#if identity.icon}}
+ <FaIcon @icon={{identity.icon}} @prefix="fab" class="mr-3 text-gray-600 dark:text-gray-300" />
+ {{/if}}
+ <div>
+ <div class="text-sm font-semibold text-gray-900 dark:text-white">{{identity.label}}</div>
+ {{#if identity.provider_email}}
+ <div class="text-xs text-gray-500 dark:text-gray-400">{{identity.provider_email}}</div>
+ {{/if}}
+ </div>
+ </div>
+ <Button
+ @size="xs"
+ @type="danger"
+ @icon="link-slash"
+ @text={{t "auth.login.oauth.unlink-button"}}
+ @disabled={{this.isLastCredential identity}}
+ @helpText={{if (this.isLastCredential identity) (t "auth.login.oauth.errors.last-credential")}}
+ @isLoading={{this.unlink.isRunning}}
+ @onClick={{fn this.confirmUnlink identity}}
+ />
+ </div>
+ {{/each}}
+
+ {{#each this.available as |provider|}}
+ <div class="flex items-center justify-between rounded-md border border-dashed border-gray-300 dark:border-gray-700 px-3 py-2">
+ <div class="flex items-center">
+ <FaIcon @icon={{provider.icon}} @prefix="fab" class="mr-3 text-gray-400" />
+ <div class="text-sm text-gray-700 dark:text-gray-300">{{provider.label}}</div>
+ </div>
+ <Button
+ @size="xs"
+ @icon="link"
+ @text={{t "auth.login.oauth.link-button"}}
+ @isLoading={{this.link.isRunning}}
+ @onClick={{perform this.link provider}}
+ />
+ </div>
+ {{/each}}
+ </div>
+ </ContentPanel>
+{{/if}}
diff --git a/console/app/components/account/connected-accounts.js b/console/app/components/account/connected-accounts.js
new file mode 100644
index 00000000..382f0707
--- /dev/null
+++ b/console/app/components/account/connected-accounts.js
@@ -0,0 +1,101 @@
+import Component from '@glimmer/component';
+import { inject as service } from '@ember/service';
+import { tracked } from '@glimmer/tracking';
+import { action } from '@ember/object';
+import { task } from 'ember-concurrency';
+
+/**
+ * Providers linked to the signed-in user, with link and unlink.
+ *
+ * Renders nothing when there is nothing to show — no provider linked and none
+ * enabled — so an install that has not turned OAuth on sees the account page exactly
+ * as before.
+ */
+export default class AccountConnectedAccountsComponent extends Component {
+ @service oauth;
+ @service notifications;
+ @service intl;
+ @service modalsManager;
+
+ @tracked identities = [];
+ @tracked available = [];
+ @tracked hasPassword = true;
+ @tracked isLoaded = false;
+
+ constructor() {
+ super(...arguments);
+ this.load.perform();
+ }
+
+ get isVisible() {
+ return this.isLoaded && (this.identities.length > 0 || this.available.length > 0);
+ }
+
+ /**
+ * Whether removing this identity would leave the account with no way to sign in.
+ * The API refuses it regardless; this only lets the button say so up front.
+ */
+ @action isLastCredential(identity) {
+ return !this.hasPassword && this.identities.length === 1 && this.identities[0]?.provider === identity?.provider;
+ }
+
+ @action apply(payload = {}) {
+ this.identities = Array.isArray(payload.identities) ? payload.identities : [];
+ this.available = Array.isArray(payload.available) ? payload.available : [];
+ this.hasPassword = payload.has_password !== false;
+ this.isLoaded = true;
+ }
+
+ @task *load() {
+ try {
+ this.apply(yield this.oauth.loadIdentities());
+ } catch (error) {
+ // Not fatal: the rest of the account page still works without this panel.
+ this.isLoaded = true;
+ }
+ }
+
+ @task *link(provider) {
+ try {
+ yield this.oauth.startLink(provider.id);
+ } catch (error) {
+ this.notifications.error(this.intl.t(this.messageFor(error)));
+ }
+ }
+
+ @task *unlink(identity) {
+ try {
+ this.apply(yield this.oauth.unlink(identity.provider));
+ this.notifications.success(this.intl.t('auth.login.oauth.unlinked', { provider: identity.label }));
+ } catch (error) {
+ this.notifications.error(this.intl.t(this.messageFor(error)));
+ }
+ }
+
+ @action confirmUnlink(identity) {
+ this.modalsManager.confirm({
+ title: this.intl.t('auth.login.oauth.unlink-title', { provider: identity.label }),
+ body: this.intl.t('auth.login.oauth.unlink-body', { provider: identity.label }),
+ acceptButtonText: this.intl.t('auth.login.oauth.unlink-button'),
+ acceptButtonScheme: 'danger',
+ confirm: async (modal) => {
+ modal.startLoading();
+ await this.unlink.perform(identity);
+ modal.done();
+ },
+ });
+ }
+
+ messageFor(error) {
+ const code = error?.code ?? error?.payload?.code;
+
+ return (
+ {
+ last_credential: 'auth.login.oauth.errors.last-credential',
+ already_linked: 'auth.login.oauth.errors.already-linked',
+ provider_disabled: 'auth.login.oauth.errors.provider-disabled',
+ rate_limited: 'auth.login.oauth.errors.rate-limited',
+ }[code] ?? 'auth.login.oauth.errors.generic'
+ );
+ }
+}
diff --git a/console/app/controllers/auth/oauth-callback.js b/console/app/controllers/auth/oauth-callback.js
index 00536e7c..19491265 100644
--- a/console/app/controllers/auth/oauth-callback.js
+++ b/console/app/controllers/auth/oauth-callback.js
@@ -23,6 +23,8 @@ const ERROR_KEYS = {
customer_login_not_allowed: 'auth.login.oauth.errors.customer-account',
not_verified: 'auth.login.oauth.errors.not-verified',
rate_limited: 'auth.login.oauth.errors.rate-limited',
+ already_linked: 'auth.login.oauth.errors.already-linked',
+ identity_already_linked: 'auth.login.oauth.errors.identity-already-linked',
};
export default class AuthOauthCallbackController extends Controller {
@@ -49,7 +51,11 @@ export default class AuthOauthCallbackController extends Controller {
* @return {Promise<void>}
*/
async start(payload = {}) {
- const { handoff, error, returnTo } = payload;
+ const { handoff, error, returnTo, intent } = payload;
+
+ if (intent === 'link') {
+ return this.finishLink(handoff, error);
+ }
if (error) {
return this.fail(error);
@@ -73,6 +79,40 @@ export default class AuthOauthCallbackController extends Controller {
return this.handle(response, returnTo);
}
+ /**
+ * Finish linking a provider to the signed-in user.
+ *
+ * Goes through the protected endpoint, never the public exchange: the API checks
+ * that the signed-in user is the one who started the link. Either way the user is
+ * returned to their account page, where the result shows.
+ *
+ * @param {String|null} handoff
+ * @param {String|null} error
+ * @return {Promise<void>}
+ */
+ async finishLink(handoff, error) {
+ const destination = 'console.account.auth';
+
+ if (error || !handoff) {
+ this.isExchanging = false;
+ this.notifications.error(this.intl.t(ERROR_KEYS[error] ?? 'auth.login.oauth.errors.link-failed'));
+
+ return this.router.transitionTo(destination);
+ }
+
+ try {
+ await this.oauth.completeLink(handoff);
+ this.notifications.success(this.intl.t('auth.login.oauth.linked'));
+ } catch (serverError) {
+ const code = this.codeFrom(serverError);
+ this.notifications.error(this.intl.t(code === 'invalid_exchange_code' ? 'auth.login.oauth.errors.link-failed' : (ERROR_KEYS[code] ?? 'auth.login.oauth.errors.link-failed')));
+ }
+
+ this.isExchanging = false;
+
+ return this.router.transitionTo(destination);
+ }
+
/**
* Route on one of the exchange's outcomes.
*
diff --git a/console/app/routes/auth/oauth-callback.js b/console/app/routes/auth/oauth-callback.js
index d290f3d4..15a94b3e 100644
--- a/console/app/routes/auth/oauth-callback.js
+++ b/console/app/routes/auth/oauth-callback.js
@@ -51,6 +51,7 @@ export default class AuthOauthCallbackRoute extends Route {
handoff: params.get('handoff'),
error: params.get('error'),
returnTo: params.get('return_to'),
+ intent: params.get('intent'),
};
if (hash) {
diff --git a/console/app/services/oauth.js b/console/app/services/oauth.js
index 0017ebd4..25290d13 100644
--- a/console/app/services/oauth.js
+++ b/console/app/services/oauth.js
@@ -124,6 +124,49 @@ export default class OauthService extends Service {
return `${window.location.protocol}//${window.location.host}`;
}
+ /**
+ * The signed-in user's linked identities and the providers they could link.
+ *
+ * @return {Promise<{identities: Array, available: Array, has_password: Boolean}>}
+ */
+ loadIdentities() {
+ return this.fetch.get('auth/oauth/identities');
+ }
+
+ /**
+ * Begin linking a provider to the signed-in user.
+ *
+ * The API returns the provider URL rather than redirecting, because the endpoint
+ * needs the bearer token and a top-level navigation cannot carry it.
+ *
+ * @param {String} providerId
+ * @return {Promise<void>}
+ */
+ async startLink(providerId) {
+ const { redirect_url } = await this.fetch.post(`auth/oauth/${encodeURIComponent(providerId)}/link`, {}, { rawError: true });
+
+ window.location.assign(redirect_url);
+ }
+
+ /**
+ * Finish a link from the callback. Protected: the API checks the signed-in user
+ * is the one who started it, which is what defeats account-linking CSRF.
+ *
+ * @param {String} code
+ * @return {Promise<Object>}
+ */
+ completeLink(code) {
+ return this.fetch.post('auth/oauth/link/complete', { code }, { rawError: true });
+ }
+
+ /**
+ * @param {String} providerId
+ * @return {Promise<Object>}
+ */
+ unlink(providerId) {
+ return this.fetch.delete(`auth/oauth/${encodeURIComponent(providerId)}/unlink`, {}, { rawError: true });
+ }
+
/**
* Remember a registration intent for the onboarding flow to pick up.
*
diff --git a/console/app/templates/console/account/auth.hbs b/console/app/templates/console/account/auth.hbs
index 16466c16..6d30ca27 100644
--- a/console/app/templates/console/account/auth.hbs
+++ b/console/app/templates/console/account/auth.hbs
@@ -29,6 +29,8 @@
</form>
</ContentPanel>
+ <Account::ConnectedAccounts />
+
<ContentPanel @title="Change Password" @open={{true}} @wrapperClass="bordered-classic">
<form id="change-password-form" aria-label="change-password" {{on "submit" (perform this.changePassword)}}>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-4">
diff --git a/console/tests/integration/components/account/connected-accounts-test.js b/console/tests/integration/components/account/connected-accounts-test.js
new file mode 100644
index 00000000..8246c84e
--- /dev/null
+++ b/console/tests/integration/components/account/connected-accounts-test.js
@@ -0,0 +1,121 @@
+import { module, test } from 'qunit';
+import { setupRenderingTest } from '@fleetbase/console/tests/helpers';
+import { render } from '@ember/test-helpers';
+import { hbs } from 'ember-cli-htmlbars';
+import Service from '@ember/service';
+import ConnectedAccountsComponent from '@fleetbase/console/components/account/connected-accounts';
+import { captureComponent } from '@fleetbase/console/tests/helpers/capture-component';
+
+module('Integration | Component | account/connected-accounts', function (hooks) {
+ setupRenderingTest(hooks);
+
+ hooks.beforeEach(function () {
+ this.owner.lookup('service:intl').setLocale('en-us');
+
+ const self = this;
+ this.payload = {
+ identities: [{ provider: 'google', label: 'Google', icon: 'google', provider_email: '[email protected]' }],
+ available: [{ id: 'github', label: 'GitHub', icon: 'github' }],
+ has_password: true,
+ };
+ this.linked = [];
+ this.unlinked = [];
+
+ class OauthStub extends Service {
+ loadIdentities() {
+ return Promise.resolve(self.payload);
+ }
+ startLink(id) {
+ self.linked.push(id);
+ return Promise.resolve();
+ }
+ unlink(id) {
+ self.unlinked.push(id);
+ return self.unlinkResult ? self.unlinkResult() : Promise.resolve({ identities: [], available: [], has_password: true });
+ }
+ }
+ class NotificationsStub extends Service {
+ errors = [];
+ success() {}
+ error(m) {
+ self.errors = [...(self.errors ?? []), m];
+ }
+ }
+
+ this.owner.register('service:oauth', OauthStub);
+ this.owner.register('service:notifications', NotificationsStub);
+ });
+
+ test('it lists linked providers and offers the ones not yet linked', async function (assert) {
+ await render(hbs`<Account::ConnectedAccounts />`);
+
+ assert.dom(this.element).containsText('Google');
+ assert.dom(this.element).containsText('[email protected]');
+ assert.dom(this.element).containsText('GitHub');
+ });
+
+ test('it renders nothing when no provider is linked or enabled', async function (assert) {
+ this.payload = { identities: [], available: [], has_password: true };
+
+ await render(hbs`<Account::ConnectedAccounts />`);
+
+ // An install that has not turned OAuth on sees the account page exactly as before.
+ assert.dom('.next-content-panel').doesNotExist();
+ });
+
+ test('it renders nothing when the endpoint is unreachable', async function (assert) {
+ this.owner.lookup('service:oauth').loadIdentities = () => Promise.reject(new Error('down'));
+
+ await render(hbs`<Account::ConnectedAccounts />`);
+
+ assert.dom('.next-content-panel').doesNotExist();
+ });
+
+ test('it disables unlinking the only way a user can sign in', async function (assert) {
+ const captured = captureComponent(this.owner, 'account/connected-accounts', ConnectedAccountsComponent);
+ this.payload = {
+ identities: [{ provider: 'google', label: 'Google', icon: 'google' }],
+ available: [],
+ has_password: false,
+ };
+
+ await render(hbs`<Account::ConnectedAccounts />`);
+
+ const component = captured.instance;
+ assert.true(component.isLastCredential(component.identities[0]), 'no password and one provider');
+
+ component.hasPassword = true;
+ assert.false(component.isLastCredential(component.identities[0]), 'a password is another way in');
+ });
+
+ test('linking starts the provider handshake', async function (assert) {
+ const captured = captureComponent(this.owner, 'account/connected-accounts', ConnectedAccountsComponent);
+ await render(hbs`<Account::ConnectedAccounts />`);
+
+ await captured.instance.link.perform({ id: 'github' });
+
+ assert.deepEqual(this.linked, ['github']);
+ });
+
+ test('unlinking refreshes the list from the API response', async function (assert) {
+ const captured = captureComponent(this.owner, 'account/connected-accounts', ConnectedAccountsComponent);
+ await render(hbs`<Account::ConnectedAccounts />`);
+
+ await captured.instance.unlink.perform({ provider: 'google', label: 'Google' });
+
+ assert.deepEqual(this.unlinked, ['google']);
+ assert.deepEqual(captured.instance.identities, []);
+ });
+
+ test('it explains a refused unlink in plain language', async function (assert) {
+ const captured = captureComponent(this.owner, 'account/connected-accounts', ConnectedAccountsComponent);
+ this.unlinkResult = () => Promise.reject({ code: 'last_credential' });
+ await render(hbs`<Account::ConnectedAccounts />`);
+
+ await captured.instance.unlink.perform({ provider: 'google', label: 'Google' });
+
+ assert.strictEqual(captured.instance.messageFor({ code: 'last_credential' }), 'auth.login.oauth.errors.last-credential');
+ assert.strictEqual(captured.instance.messageFor({ code: 'something-else' }), 'auth.login.oauth.errors.generic');
+ assert.strictEqual(this.errors.length, 1);
+ });
+});
diff --git a/console/tests/unit/controllers/auth/oauth-callback-test.js b/console/tests/unit/controllers/auth/oauth-callback-test.js
index 03e62dc8..1bb9a89a 100644
--- a/console/tests/unit/controllers/auth/oauth-callback-test.js
+++ b/console/tests/unit/controllers/auth/oauth-callback-test.js
@@ -37,6 +37,9 @@ module('Unit | Controller | auth/oauth-callback', function (hooks) {
info(m) {
self.notified.info.push(m);
}
+ success(m) {
+ self.notified.info.push(m);
+ }
}
this.owner.register('service:fetch', FetchStub);
@@ -178,4 +181,56 @@ module('Unit | Controller | auth/oauth-callback', function (hooks) {
assert.deepEqual(this.notified.errors, ['auth.login.oauth.errors.exchange-failed']);
assert.deepEqual(this.transitions, [['auth.login']]);
});
+
+ test('a link handoff is completed through the protected endpoint, never the public exchange', async function (assert) {
+ const controller = this.controller;
+ const completed = [];
+ controller.oauth.completeLink = (code) => {
+ completed.push(code);
+ return Promise.resolve({ identities: [] });
+ };
+
+ await controller.start({ handoff: 'link-code', intent: 'link' });
+
+ assert.deepEqual(completed, ['link-code'], 'completed as a link');
+ assert.deepEqual(this.posted, [], 'the public exchange is never called');
+ assert.deepEqual(this.manualTokens, [], 'no session is created — the user is already signed in');
+ assert.deepEqual(this.transitions, [['console.account.auth']]);
+ });
+
+ test('a refused link returns the user to their account page with a message', async function (assert) {
+ const controller = this.controller;
+ controller.oauth.completeLink = () => Promise.reject({ code: 'identity_already_linked' });
+
+ await controller.start({ handoff: 'link-code', intent: 'link' });
+
+ assert.deepEqual(this.notified.errors, ['auth.login.oauth.errors.identity-already-linked']);
+ assert.deepEqual(this.transitions, [['console.account.auth']]);
+ });
+
+ test('a link rejected as invalid shows a generic link failure', async function (assert) {
+ const controller = this.controller;
+ // Includes the account-linking CSRF case, which the API reports exactly like an
+ // expired code on purpose.
+ controller.oauth.completeLink = () => Promise.reject({ code: 'invalid_exchange_code' });
+
+ await controller.start({ handoff: 'link-code', intent: 'link' });
+
+ assert.deepEqual(this.notified.errors, ['auth.login.oauth.errors.link-failed']);
+ });
+
+ test('a link cancelled at the provider returns to the account page without calling the API', async function (assert) {
+ const controller = this.controller;
+ let called = false;
+ controller.oauth.completeLink = () => {
+ called = true;
+ return Promise.resolve();
+ };
+
+ await controller.start({ error: 'access_denied', intent: 'link' });
+
+ assert.false(called);
+ assert.deepEqual(this.notified.errors, ['auth.login.oauth.errors.access-denied']);
+ assert.deepEqual(this.transitions, [['console.account.auth']]);
+ });
});
diff --git a/console/tests/unit/routes/auth/oauth-callback-test.js b/console/tests/unit/routes/auth/oauth-callback-test.js
index 2301ea41..f64ca88f 100644
--- a/console/tests/unit/routes/auth/oauth-callback-test.js
+++ b/console/tests/unit/routes/auth/oauth-callback-test.js
@@ -43,6 +43,13 @@ module('Unit | Route | auth/oauth-callback', function (hooks) {
const payload = route.model();
- assert.deepEqual(payload, { handoff: null, error: null, returnTo: null });
+ assert.deepEqual(payload, { handoff: null, error: null, returnTo: null, intent: null });
+ });
+
+ test('it reads a link intent out of the fragment', function (assert) {
+ window.location.hash = '#handoff=abc123&intent=link';
+ const route = this.owner.lookup('route:auth/oauth-callback');
+
+ assert.strictEqual(route.model().intent, 'link');
});
});
diff --git a/console/translations/ar-ae.yaml b/console/translations/ar-ae.yaml
index f788fe38..2ce38029 100644
--- a/console/translations/ar-ae.yaml
+++ b/console/translations/ar-ae.yaml
@@ -574,6 +574,14 @@ auth:
continue-with: 'المتابعة باستخدام {provider}'
signing-in: 'جارٍ تسجيل الدخول...'
finish-signup: 'أكمل إعداد حساب Fleetbase للمتابعة.'
+ connected-accounts: 'الحسابات المرتبطة'
+ connected-accounts-help: 'سجّل الدخول عبر مزوّد بدلاً من كلمة المرور. يمكنك ربط أكثر من مزوّد.'
+ link-button: 'ربط'
+ unlink-button: 'إلغاء الربط'
+ unlink-title: 'إلغاء ربط {provider}؟'
+ unlink-body: 'لن تتمكن بعد الآن من تسجيل الدخول عبر {provider}. يمكنك ربطه مجددًا لاحقًا.'
+ linked: 'تم ربط المزوّد بحسابك.'
+ unlinked: 'تم إلغاء ربط {provider}.'
errors:
generic: 'تعذّر إكمال تسجيل الدخول. يرجى المحاولة مرة أخرى.'
access-denied: 'تم إلغاء تسجيل الدخول.'
@@ -588,6 +596,10 @@ auth:
customer-account: 'يجب على حسابات العملاء تسجيل الدخول عبر بوابة العملاء.'
not-verified: 'يجب التحقق من حسابك للمتابعة.'
rate-limited: 'محاولات كثيرة جدًا. يرجى المحاولة بعد قليل.'
+ already-linked: 'هذا المزوّد مرتبط بحسابك بالفعل.'
+ identity-already-linked: 'هذا الحساب مرتبط بالفعل بمستخدم Fleetbase آخر.'
+ last-credential: 'عيّن كلمة مرور أو اربط مزوّدًا آخر أولاً، وإلا فلن تتمكن من تسجيل الدخول.'
+ link-failed: 'تعذّر ربط هذا المزوّد. يرجى المحاولة مرة أخرى.'
slow-connection-message: تواجه مشاكل في الاتصال.
reset-password:
success-message: تم إعادة تعيين كلمة المرور! قم بتسجيل الدخول للمتابعة.
diff --git a/console/translations/bg-bg.yaml b/console/translations/bg-bg.yaml
index 18b212d8..342566ea 100644
--- a/console/translations/bg-bg.yaml
+++ b/console/translations/bg-bg.yaml
@@ -581,6 +581,14 @@ auth:
continue-with: 'Продължете с {provider}'
signing-in: 'Влизане...'
finish-signup: 'Завършете настройката на профила си във Fleetbase, за да продължите.'
+ connected-accounts: 'Свързани акаунти'
+ connected-accounts-help: 'Влизайте чрез доставчик вместо с парола. Можете да свържете повече от един.'
+ link-button: 'Свържи'
+ unlink-button: 'Прекъсни'
+ unlink-title: 'Да се прекъсне ли {provider}?'
+ unlink-body: 'Вече няма да можете да влизате чрез {provider}. Можете да го свържете отново по-късно.'
+ linked: 'Доставчикът е свързан с профила ви.'
+ unlinked: '{provider} е прекъснат.'
errors:
generic: 'Влизането не можа да бъде завършено. Опитайте отново.'
access-denied: 'Влизането беше отказано.'
@@ -595,6 +603,10 @@ auth:
customer-account: 'Клиентските профили трябва да влизат през клиентския портал.'
not-verified: 'Профилът ви трябва да бъде потвърден, за да продължите.'
rate-limited: 'Твърде много опити. Опитайте отново скоро.'
+ already-linked: 'Този доставчик вече е свързан с профила ви.'
+ identity-already-linked: 'Този акаунт вече е свързан с друг потребител на Fleetbase.'
+ last-credential: 'Първо задайте парола или свържете друг доставчик, иначе няма да можете да влизате.'
+ link-failed: 'Доставчикът не можа да бъде свързан. Опитайте отново.'
slow-connection-message: Имате проблеми с връзката.
reset-password:
success-message: Вашата парола беше нулирана! Влезте, за да продължите.
diff --git a/console/translations/de-de.yaml b/console/translations/de-de.yaml
index b3063f13..a4919549 100644
--- a/console/translations/de-de.yaml
+++ b/console/translations/de-de.yaml
@@ -610,6 +610,14 @@ auth:
continue-with: 'Mit {provider} fortfahren'
signing-in: 'Sie werden angemeldet...'
finish-signup: 'Schließen Sie die Einrichtung Ihres Fleetbase-Kontos ab, um fortzufahren.'
+ connected-accounts: 'Verknüpfte Konten'
+ connected-accounts-help: 'Melden Sie sich über einen Anbieter statt mit einem Passwort an. Sie können mehrere verknüpfen.'
+ link-button: 'Verknüpfen'
+ unlink-button: 'Trennen'
+ unlink-title: '{provider} trennen?'
+ unlink-body: 'Sie können sich dann nicht mehr über {provider} anmelden. Sie können ihn später erneut verknüpfen.'
+ linked: 'Anbieter mit Ihrem Konto verknüpft.'
+ unlinked: '{provider} getrennt.'
errors:
generic: 'Die Anmeldung konnte nicht abgeschlossen werden. Bitte versuchen Sie es erneut.'
access-denied: 'Die Anmeldung wurde abgebrochen.'
@@ -624,6 +632,10 @@ auth:
customer-account: 'Kundenkonten müssen sich über das Kundenportal anmelden.'
not-verified: 'Ihr Konto muss verifiziert werden, um fortzufahren.'
rate-limited: 'Zu viele Versuche. Bitte versuchen Sie es in Kürze erneut.'
+ already-linked: 'Dieser Anbieter ist bereits mit Ihrem Konto verknüpft.'
+ identity-already-linked: 'Dieses Konto ist bereits mit einem anderen Fleetbase-Benutzer verknüpft.'
+ last-credential: 'Legen Sie zuerst ein Passwort fest oder verknüpfen Sie einen anderen Anbieter, sonst könnten Sie sich nicht mehr anmelden.'
+ link-failed: 'Der Anbieter konnte nicht verknüpft werden. Bitte versuchen Sie es erneut.'
slow-connection-message: Es treten Verbindungsprobleme auf.
reset-password:
diff --git a/console/translations/en-us.yaml b/console/translations/en-us.yaml
index 4e72b075..6d3a647f 100644
--- a/console/translations/en-us.yaml
+++ b/console/translations/en-us.yaml
@@ -621,6 +621,14 @@ auth:
continue-with: 'Continue with {provider}'
signing-in: 'Signing you in...'
finish-signup: 'Finish setting up your Fleetbase account to continue.'
+ connected-accounts: 'Connected accounts'
+ connected-accounts-help: 'Sign in with a provider instead of a password. You can link more than one.'
+ link-button: 'Link'
+ unlink-button: 'Unlink'
+ unlink-title: 'Unlink {provider}?'
+ unlink-body: 'You will no longer be able to sign in with {provider}. You can link it again later.'
+ linked: 'Provider linked to your account.'
+ unlinked: '{provider} unlinked.'
errors:
generic: 'We could not complete that sign-in. Please try again.'
access-denied: 'Sign-in was cancelled.'
@@ -635,6 +643,10 @@ auth:
customer-account: 'Customer accounts must sign in through the customer portal.'
not-verified: 'Your account needs to be verified to proceed.'
rate-limited: 'Too many attempts. Please try again shortly.'
+ already-linked: 'That provider is already linked to your account.'
+ identity-already-linked: 'That account is already linked to another Fleetbase user.'
+ last-credential: 'Set a password or link another provider first, or you would not be able to sign in.'
+ link-failed: 'We could not link that provider. Please try again.'
slow-connection-message: Experiencing connectivity issues.
reset-password:
diff --git a/console/translations/es-es.yaml b/console/translations/es-es.yaml
index 519808f5..91677a59 100644
--- a/console/translations/es-es.yaml
+++ b/console/translations/es-es.yaml
@@ -583,6 +583,14 @@ auth:
continue-with: 'Continuar con {provider}'
signing-in: 'Iniciando sesión...'
finish-signup: 'Termine de configurar su cuenta de Fleetbase para continuar.'
+ connected-accounts: 'Cuentas vinculadas'
+ connected-accounts-help: 'Inicie sesión con un proveedor en lugar de una contraseña. Puede vincular más de uno.'
+ link-button: 'Vincular'
+ unlink-button: 'Desvincular'
+ unlink-title: '¿Desvincular {provider}?'
+ unlink-body: 'Ya no podrá iniciar sesión con {provider}. Puede volver a vincularlo más adelante.'
+ linked: 'Proveedor vinculado a su cuenta.'
+ unlinked: '{provider} desvinculado.'
errors:
generic: 'No se pudo completar el inicio de sesión. Inténtelo de nuevo.'
access-denied: 'Se canceló el inicio de sesión.'
@@ -597,6 +605,10 @@ auth:
customer-account: 'Las cuentas de cliente deben iniciar sesión a través del portal de clientes.'
not-verified: 'Su cuenta debe ser verificada para continuar.'
rate-limited: 'Demasiados intentos. Inténtelo de nuevo en breve.'
+ already-linked: 'Ese proveedor ya está vinculado a su cuenta.'
+ identity-already-linked: 'Esa cuenta ya está vinculada a otro usuario de Fleetbase.'
+ last-credential: 'Establezca una contraseña o vincule otro proveedor primero, o no podrá iniciar sesión.'
+ link-failed: 'No se pudo vincular ese proveedor. Inténtelo de nuevo.'
slow-connection-message: Experimentando problemas de conectividad.
reset-password:
success-message: ¡Tu contraseña ha sido restablecida! Inicia sesión para continuar.
diff --git a/console/translations/es-mx.yaml b/console/translations/es-mx.yaml
index 6e2bd44d..9f589fa8 100644
--- a/console/translations/es-mx.yaml
+++ b/console/translations/es-mx.yaml
@@ -613,6 +613,14 @@ auth:
continue-with: 'Continuar con {provider}'
signing-in: 'Iniciando sesión...'
finish-signup: 'Termina de configurar tu cuenta de Fleetbase para continuar.'
+ connected-accounts: 'Cuentas vinculadas'
+ connected-accounts-help: 'Inicia sesión con un proveedor en lugar de una contraseña. Puedes vincular más de uno.'
+ link-button: 'Vincular'
+ unlink-button: 'Desvincular'
+ unlink-title: '¿Desvincular {provider}?'
+ unlink-body: 'Ya no podrás iniciar sesión con {provider}. Puedes volver a vincularlo más adelante.'
+ linked: 'Proveedor vinculado a tu cuenta.'
+ unlinked: '{provider} desvinculado.'
errors:
generic: 'No se pudo completar el inicio de sesión. Inténtalo de nuevo.'
access-denied: 'Se canceló el inicio de sesión.'
@@ -627,6 +635,10 @@ auth:
customer-account: 'Las cuentas de cliente deben iniciar sesión a través del portal de clientes.'
not-verified: 'Tu cuenta debe ser verificada para continuar.'
rate-limited: 'Demasiados intentos. Inténtalo de nuevo en breve.'
+ already-linked: 'Ese proveedor ya está vinculado a tu cuenta.'
+ identity-already-linked: 'Esa cuenta ya está vinculada a otro usuario de Fleetbase.'
+ last-credential: 'Establece una contraseña o vincula otro proveedor primero, o no podrás iniciar sesión.'
+ link-failed: 'No se pudo vincular ese proveedor. Inténtalo de nuevo.'
slow-connection-message: Experimentando problemas de conectividad.
reset-password:
diff --git a/console/translations/fa-ir.yaml b/console/translations/fa-ir.yaml
index fa57d9b9..d6a76a05 100644
--- a/console/translations/fa-ir.yaml
+++ b/console/translations/fa-ir.yaml
@@ -565,6 +565,14 @@ auth:
continue-with: 'ادامه با {provider}'
signing-in: 'در حال ورود...'
finish-signup: 'برای ادامه، راه‌اندازی حساب Fleetbase خود را کامل کنید.'
+ connected-accounts: 'حساب‌های متصل'
+ connected-accounts-help: 'به‌جای رمز عبور با یک ارائه‌دهنده وارد شوید. می‌توانید بیش از یکی متصل کنید.'
+ link-button: 'اتصال'
+ unlink-button: 'قطع اتصال'
+ unlink-title: 'اتصال {provider} قطع شود؟'
+ unlink-body: 'دیگر نمی‌توانید با {provider} وارد شوید. بعداً می‌توانید دوباره آن را متصل کنید.'
+ linked: 'ارائه‌دهنده به حساب شما متصل شد.'
+ unlinked: 'اتصال {provider} قطع شد.'
errors:
generic: 'ورود کامل نشد. لطفاً دوباره تلاش کنید.'
access-denied: 'ورود لغو شد.'
@@ -579,6 +587,10 @@ auth:
customer-account: 'حساب‌های مشتری باید از طریق پورتال مشتری وارد شوند.'
not-verified: 'برای ادامه، حساب شما باید تأیید شود.'
rate-limited: 'تلاش‌های بیش از حد. لطفاً کمی بعد دوباره تلاش کنید.'
+ already-linked: 'این ارائه‌دهنده قبلاً به حساب شما متصل شده است.'
+ identity-already-linked: 'این حساب قبلاً به کاربر دیگری در Fleetbase متصل شده است.'
+ last-credential: 'ابتدا رمز عبور تعیین کنید یا ارائه‌دهنده دیگری متصل کنید، وگرنه نمی‌توانید وارد شوید.'
+ link-failed: 'اتصال این ارائه‌دهنده ممکن نشد. لطفاً دوباره تلاش کنید.'
slow-connection-message: در حال تجربه مشکلات اتصال
reset-password:
success-message: رمز عبور شما بازنشانی شد! برای ادامه وارد شوید
diff --git a/console/translations/fr-fr.yaml b/console/translations/fr-fr.yaml
index 27b72c1c..a0779eba 100644
--- a/console/translations/fr-fr.yaml
+++ b/console/translations/fr-fr.yaml
@@ -584,6 +584,14 @@ auth:
continue-with: 'Continuer avec {provider}'
signing-in: 'Connexion en cours...'
finish-signup: 'Terminez la configuration de votre compte Fleetbase pour continuer.'
+ connected-accounts: 'Comptes associés'
+ connected-accounts-help: 'Connectez-vous via un fournisseur plutôt qu''avec un mot de passe. Vous pouvez en associer plusieurs.'
+ link-button: 'Associer'
+ unlink-button: 'Dissocier'
+ unlink-title: 'Dissocier {provider} ?'
+ unlink-body: 'Vous ne pourrez plus vous connecter avec {provider}. Vous pourrez l''associer à nouveau plus tard.'
+ linked: 'Fournisseur associé à votre compte.'
+ unlinked: '{provider} dissocié.'
errors:
generic: 'La connexion n''a pas pu être finalisée. Veuillez réessayer.'
access-denied: 'La connexion a été annulée.'
@@ -598,6 +606,10 @@ auth:
customer-account: 'Les comptes clients doivent se connecter via le portail client.'
not-verified: 'Votre compte doit être vérifié pour continuer.'
rate-limited: 'Trop de tentatives. Veuillez réessayer dans un instant.'
+ already-linked: 'Ce fournisseur est déjà associé à votre compte.'
+ identity-already-linked: 'Ce compte est déjà associé à un autre utilisateur Fleetbase.'
+ last-credential: 'Définissez d''abord un mot de passe ou associez un autre fournisseur, sinon vous ne pourrez plus vous connecter.'
+ link-failed: 'Impossible d''associer ce fournisseur. Veuillez réessayer.'
slow-connection-message: Problèmes de connexion en cours.
reset-password:
success-message: Votre mot de passe a été réinitialisé ! Connectez-vous pour continuer.
diff --git a/console/translations/it-it.yaml b/console/translations/it-it.yaml
index 33cace90..7b218306 100644
--- a/console/translations/it-it.yaml
+++ b/console/translations/it-it.yaml
@@ -619,6 +619,14 @@ auth:
continue-with: 'Continua con {provider}'
signing-in: 'Accesso in corso...'
finish-signup: 'Completa la configurazione del tuo account Fleetbase per continuare.'
+ connected-accounts: 'Account collegati'
+ connected-accounts-help: 'Accedi con un provider invece che con una password. Puoi collegarne più di uno.'
+ link-button: 'Collega'
+ unlink-button: 'Scollega'
+ unlink-title: 'Scollegare {provider}?'
+ unlink-body: 'Non potrai più accedere con {provider}. Potrai collegarlo di nuovo in seguito.'
+ linked: 'Provider collegato al tuo account.'
+ unlinked: '{provider} scollegato.'
errors:
generic: 'Non è stato possibile completare l''accesso. Riprova.'
access-denied: 'Accesso annullato.'
@@ -633,6 +641,10 @@ auth:
customer-account: 'Gli account cliente devono accedere tramite il portale clienti.'
not-verified: 'Il tuo account deve essere verificato per continuare.'
rate-limited: 'Troppi tentativi. Riprova tra poco.'
+ already-linked: 'Questo provider è già collegato al tuo account.'
+ identity-already-linked: 'Questo account è già collegato a un altro utente Fleetbase.'
+ last-credential: 'Imposta prima una password o collega un altro provider, altrimenti non potrai accedere.'
+ link-failed: 'Impossibile collegare il provider. Riprova.'
slow-connection-message: Si stanno verificando problemi di connettività.
reset-password:
diff --git a/console/translations/mn-mn.yaml b/console/translations/mn-mn.yaml
index 779be48a..a010ab74 100644
--- a/console/translations/mn-mn.yaml
+++ b/console/translations/mn-mn.yaml
@@ -582,6 +582,14 @@ auth:
continue-with: '{provider}-ээр үргэлжлүүлэх'
signing-in: 'Нэвтэрч байна...'
finish-signup: 'Үргэлжлүүлэхийн тулд Fleetbase бүртгэлээ тохируулж дуусгана уу.'
+ connected-accounts: 'Холбогдсон бүртгэлүүд'
+ connected-accounts-help: 'Нууц үгийн оронд үйлчилгээгээр нэвтэрнэ үү. Нэгээс олныг холбох боломжтой.'
+ link-button: 'Холбох'
+ unlink-button: 'Салгах'
+ unlink-title: '{provider}-г салгах уу?'
+ unlink-body: 'Та цаашид {provider}-ээр нэвтрэх боломжгүй болно. Дараа нь дахин холбож болно.'
+ linked: 'Үйлчилгээ таны бүртгэлд холбогдлоо.'
+ unlinked: '{provider} салгагдлаа.'
errors:
generic: 'Нэвтрэлтийг гүйцэтгэж чадсангүй. Дахин оролдоно уу.'
access-denied: 'Нэвтрэлт цуцлагдлаа.'
@@ -596,6 +604,10 @@ auth:
customer-account: 'Үйлчлүүлэгчийн бүртгэл нь үйлчлүүлэгчийн порталаар нэвтэрнэ.'
not-verified: 'Үргэлжлүүлэхийн тулд таны бүртгэлийг баталгаажуулах шаардлагатай.'
rate-limited: 'Хэт олон оролдлого. Түр хүлээгээд дахин оролдоно уу.'
+ already-linked: 'Энэ үйлчилгээ таны бүртгэлд аль хэдийн холбогдсон байна.'
+ identity-already-linked: 'Энэ бүртгэл өөр Fleetbase хэрэглэгчид аль хэдийн холбогдсон байна.'
+ last-credential: 'Эхлээд нууц үг тохируулах эсвэл өөр үйлчилгээ холбоно уу, эс бөгөөс нэвтрэх боломжгүй болно.'
+ link-failed: 'Үйлчилгээг холбож чадсангүй. Дахин оролдоно уу.'
slow-connection-message: Сүлжээний холболт удааширч байна.
reset-password:
success-message: Таны нууц үг амжилттай сэргээгдлээ! Үргэлжлүүлэхийн тулд нэвтэрнэ
diff --git a/console/translations/pt-br.yaml b/console/translations/pt-br.yaml
index 05c2adbf..31160da7 100644
--- a/console/translations/pt-br.yaml
+++ b/console/translations/pt-br.yaml
@@ -579,6 +579,14 @@ auth:
continue-with: 'Continuar com {provider}'
signing-in: 'Entrando...'
finish-signup: 'Conclua a configuração da sua conta Fleetbase para continuar.'
+ connected-accounts: 'Contas conectadas'
+ connected-accounts-help: 'Entre com um provedor em vez de uma senha. Você pode conectar mais de um.'
+ link-button: 'Conectar'
+ unlink-button: 'Desconectar'
+ unlink-title: 'Desconectar {provider}?'
+ unlink-body: 'Você não poderá mais entrar com {provider}. Você pode conectá-lo novamente depois.'
+ linked: 'Provedor conectado à sua conta.'
+ unlinked: '{provider} desconectado.'
errors:
generic: 'Não foi possível concluir o login. Tente novamente.'
access-denied: 'O login foi cancelado.'
@@ -593,6 +601,10 @@ auth:
customer-account: 'Contas de cliente devem entrar pelo portal do cliente.'
not-verified: 'Sua conta precisa ser verificada para continuar.'
rate-limited: 'Muitas tentativas. Tente novamente em breve.'
+ already-linked: 'Esse provedor já está conectado à sua conta.'
+ identity-already-linked: 'Essa conta já está conectada a outro usuário do Fleetbase.'
+ last-credential: 'Defina uma senha ou conecte outro provedor primeiro, ou você não conseguirá entrar.'
+ link-failed: 'Não foi possível conectar esse provedor. Tente novamente.'
slow-connection-message: Problemas de conexão detectados.
reset-password:
success-message: Sua senha foi redefinida! Faça login para continuar.
diff --git a/console/translations/ru-ru.yaml b/console/translations/ru-ru.yaml
index 89f66e2b..7178b264 100644
--- a/console/translations/ru-ru.yaml
+++ b/console/translations/ru-ru.yaml
@@ -580,6 +580,14 @@ auth:
continue-with: 'Продолжить через {provider}'
signing-in: 'Выполняется вход...'
finish-signup: 'Завершите настройку учётной записи Fleetbase, чтобы продолжить.'
+ connected-accounts: 'Связанные аккаунты'
+ connected-accounts-help: 'Входите через поставщика вместо пароля. Можно привязать несколько.'
+ link-button: 'Привязать'
+ unlink-button: 'Отвязать'
+ unlink-title: 'Отвязать {provider}?'
+ unlink-body: 'Вы больше не сможете входить через {provider}. Позже его можно привязать снова.'
+ linked: 'Поставщик привязан к вашей учётной записи.'
+ unlinked: '{provider} отвязан.'
errors:
generic: 'Не удалось завершить вход. Попробуйте ещё раз.'
access-denied: 'Вход отменён.'
@@ -594,6 +602,10 @@ auth:
customer-account: 'Клиентские учётные записи должны входить через клиентский портал.'
not-verified: 'Для продолжения необходимо подтвердить учётную запись.'
rate-limited: 'Слишком много попыток. Повторите попытку позже.'
+ already-linked: 'Этот поставщик уже привязан к вашей учётной записи.'
+ identity-already-linked: 'Этот аккаунт уже привязан к другому пользователю Fleetbase.'
+ last-credential: 'Сначала задайте пароль или привяжите другого поставщика, иначе вы не сможете войти.'
+ link-failed: 'Не удалось привязать поставщика. Попробуйте ещё раз.'
slow-connection-message: Проблемы с подключением.
reset-password:
success-message: Ваш пароль был сброшен! Войдите, чтобы продолжить.
diff --git a/console/translations/uz-uz.yaml b/console/translations/uz-uz.yaml
index cfb804ad..c763e32c 100644
--- a/console/translations/uz-uz.yaml
+++ b/console/translations/uz-uz.yaml
@@ -594,6 +594,14 @@ auth:
continue-with: '{provider} bilan davom etish'
signing-in: 'Tizimga kirilmoqda...'
finish-signup: 'Davom etish uchun Fleetbase hisobingizni sozlashni yakunlang.'
+ connected-accounts: 'Bog‘langan hisoblar'
+ connected-accounts-help: 'Parol o‘rniga provayder orqali kiring. Bir nechtasini bog‘lash mumkin.'
+ link-button: 'Bog‘lash'
+ unlink-button: 'Uzish'
+ unlink-title: '{provider} uzilsinmi?'
+ unlink-body: 'Endi {provider} orqali kira olmaysiz. Keyinroq uni qayta bog‘lashingiz mumkin.'
+ linked: 'Provayder hisobingizga bog‘landi.'
+ unlinked: '{provider} uzildi.'
errors:
generic: 'Kirishni yakunlab bo‘lmadi. Qaytadan urinib ko‘ring.'
access-denied: 'Kirish bekor qilindi.'
@@ -608,6 +616,10 @@ auth:
customer-account: 'Mijoz hisoblari mijozlar portali orqali kirishi kerak.'
not-verified: 'Davom etish uchun hisobingiz tasdiqlanishi kerak.'
rate-limited: 'Urinishlar juda ko‘p. Birozdan so‘ng qayta urinib ko‘ring.'
+ already-linked: 'Bu provayder allaqachon hisobingizga bog‘langan.'
+ identity-already-linked: 'Bu hisob allaqachon boshqa Fleetbase foydalanuvchisiga bog‘langan.'
+ last-credential: 'Avval parol o‘rnating yoki boshqa provayderni bog‘lang, aks holda tizimga kira olmaysiz.'
+ link-failed: 'Provayderni bog‘lab bo‘lmadi. Qayta urinib ko‘ring.'
slow-connection-message: Ulanish muammolari yuzaga kelmoqda.
reset-password:
success-message: Parolingiz tiklandi! Davom etish uchun tizimga kiring.
diff --git a/console/translations/vi-vn.yaml b/console/translations/vi-vn.yaml
index a36aad83..da6c1b17 100644
--- a/console/translations/vi-vn.yaml
+++ b/console/translations/vi-vn.yaml
@@ -583,6 +583,14 @@ auth:
continue-with: 'Tiếp tục với {provider}'
signing-in: 'Đang đăng nhập...'
finish-signup: 'Hoàn tất thiết lập tài khoản Fleetbase của bạn để tiếp tục.'
+ connected-accounts: 'Tài khoản đã liên kết'
+ connected-accounts-help: 'Đăng nhập bằng nhà cung cấp thay vì mật khẩu. Bạn có thể liên kết nhiều nhà cung cấp.'
+ link-button: 'Liên kết'
+ unlink-button: 'Hủy liên kết'
+ unlink-title: 'Hủy liên kết {provider}?'
+ unlink-body: 'Bạn sẽ không thể đăng nhập bằng {provider} nữa. Bạn có thể liên kết lại sau.'
+ linked: 'Đã liên kết nhà cung cấp với tài khoản của bạn.'
+ unlinked: 'Đã hủy liên kết {provider}.'
errors:
generic: 'Không thể hoàn tất đăng nhập. Vui lòng thử lại.'
access-denied: 'Đăng nhập đã bị hủy.'
@@ -597,6 +605,10 @@ auth:
customer-account: 'Tài khoản khách hàng phải đăng nhập qua cổng khách hàng.'
not-verified: 'Tài khoản của bạn cần được xác minh để tiếp tục.'
rate-limited: 'Quá nhiều lần thử. Vui lòng thử lại sau giây lát.'
+ already-linked: 'Nhà cung cấp này đã được liên kết với tài khoản của bạn.'
+ identity-already-linked: 'Tài khoản này đã được liên kết với một người dùng Fleetbase khác.'
+ last-credential: 'Hãy đặt mật khẩu hoặc liên kết nhà cung cấp khác trước, nếu không bạn sẽ không thể đăng nhập.'
+ link-failed: 'Không thể liên kết nhà cung cấp này. Vui lòng thử lại.'
slow-connection-message: Gặp sự cố kết nối.
reset-password:
success-message: Mật khẩu của bạn đã được đặt lại! Đăng nhập để tiếp tục.
diff --git a/console/translations/zh-cn.yaml b/console/translations/zh-cn.yaml
index 64f9a931..b79381a0 100644
--- a/console/translations/zh-cn.yaml
+++ b/console/translations/zh-cn.yaml
@@ -558,6 +558,14 @@ auth:
continue-with: '使用 {provider} 继续'
signing-in: '正在登录...'
finish-signup: '请完成 Fleetbase 账户设置以继续。'
+ connected-accounts: '已关联账户'
+ connected-accounts-help: '使用登录服务代替密码登录。可以关联多个。'
+ link-button: '关联'
+ unlink-button: '取消关联'
+ unlink-title: '取消关联 {provider}?'
+ unlink-body: '您将无法再使用 {provider} 登录。之后可以重新关联。'
+ linked: '已将登录方式关联到您的账户。'
+ unlinked: '已取消关联 {provider}。'
errors:
generic: '无法完成登录,请重试。'
access-denied: '登录已取消。'
@@ -572,6 +580,10 @@ auth:
customer-account: '客户账户必须通过客户门户登录。'
not-verified: '您的账户需要通过验证才能继续。'
rate-limited: '尝试次数过多,请稍后重试。'
+ already-linked: '该登录方式已关联到您的账户。'
+ identity-already-linked: '该账户已关联到另一位 Fleetbase 用户。'
+ last-credential: '请先设置密码或关联其他登录方式,否则您将无法登录。'
+ link-failed: '无法关联该登录方式,请重试。'
slow-connection-message: 网络连接不稳定。
reset-password:
success-message: 密码已重置!请登录继续。