diff --git a/components/SocialConnection.vue b/components/SocialConnection.vue index bebe3dd2..e1ca5d61 100644 --- a/components/SocialConnection.vue +++ b/components/SocialConnection.vue @@ -15,7 +15,7 @@ :action="providerOptions.redirectViaHome ? `${homeUrl}/api/user/social-redirect/${provider}/${config.locale}` : `/api/connect/${provider}`" class="input-group input-group-sm"> + :placeholder="$t(providerOptions.domain ? 'user.login.domainPlaceholder' : 'user.login.instancePlaceholder')"/> diff --git a/components/SocialLogin.vue b/components/SocialLogin.vue index 7738e051..bc47743c 100644 --- a/components/SocialLogin.vue +++ b/components/SocialLogin.vue @@ -6,7 +6,7 @@
+ :placeholder="$t(options.domain ? 'user.login.domainPlaceholder' : 'user.login.instancePlaceholder')"/> diff --git a/src/socialProviders.js b/src/socialProviders.js index 0cfd51ca..9c8a1e62 100644 --- a/src/socialProviders.js +++ b/src/socialProviders.js @@ -8,6 +8,7 @@ export const socialProviders = { indieauth: { name: 'IndieAuth', instanceRequired: true, + domain: true, icon: 'indieauth.png', iconMargin: true, avatars: false,