[social] indieauth use "domain", not "instance"
This commit is contained in:
parent
6be7927898
commit
97cf28158a
|
@ -15,7 +15,7 @@
|
|||
:action="providerOptions.redirectViaHome ? `${homeUrl}/api/user/social-redirect/${provider}/${config.locale}` : `/api/connect/${provider}`"
|
||||
class="input-group input-group-sm">
|
||||
<input type="text" name="instance" class="form-control" autofocus required
|
||||
:placeholder="$t('user.login.instancePlaceholder')"/>
|
||||
:placeholder="$t(providerOptions.domain ? 'user.login.domainPlaceholder' : 'user.login.instancePlaceholder')"/>
|
||||
<button type="submit" class="btn btn-outline-secondary">
|
||||
<Icon v="link"/>
|
||||
</button>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<form :action="link"
|
||||
v-if="options.instanceRequired" class="input-group my-2">
|
||||
<input type="text" name="instance" class="form-control" autofocus required ref="instance"
|
||||
:placeholder="$t('user.login.instancePlaceholder')">
|
||||
:placeholder="$t(options.domain ? 'user.login.domainPlaceholder' : 'user.login.instancePlaceholder')"/>
|
||||
<button type="submit" class="btn btn-outline-primary">
|
||||
<Icon v="arrow-right"/>
|
||||
</button>
|
||||
|
|
|
@ -8,6 +8,7 @@ export const socialProviders = {
|
|||
indieauth: {
|
||||
name: 'IndieAuth',
|
||||
instanceRequired: true,
|
||||
domain: true,
|
||||
icon: 'indieauth.png',
|
||||
iconMargin: true,
|
||||
avatars: false,
|
||||
|
|
Reference in New Issue