register/login: show only remotesources with register/login enabled

This commit is contained in:
Simone Gotti 2019-07-05 13:49:16 +02:00
parent 43e860d3c5
commit 7c80b875f8
2 changed files with 30 additions and 26 deletions

View File

@ -13,6 +13,7 @@
v-for="rs in remotesources"
v-bind:key="rs.id"
>
<div v-if="rs.login_enabled">
<LoginForm
action="Login"
:name="rs.name"
@ -32,6 +33,7 @@
</div>
</div>
</div>
</div>
</template>
<script>

View File

@ -22,6 +22,7 @@
v-for="rs in remotesources"
v-bind:key="rs.id"
>
<div v-if="rs.registration_enabled">
<LoginForm
action="Register"
:name="rs.name"
@ -41,6 +42,7 @@
</div>
</div>
</div>
</div>
</template>
<script>