Explorar o código

fix: hide create account link for non-local strategies

Nick %!s(int64=5) %!d(string=hai) anos
pai
achega
2fcbe4a3c1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      client/components/login.vue

+ 1 - 1
client/components/login.vue

@@ -161,7 +161,7 @@
                       )
                       v-avatar.mr-3(tile, :class='strategy.color', size='24', v-html='strategy.icon')
                       span(style='text-transform: none;') {{ strategy.title }}
-                template(v-if='screen === "login" && selectedStrategy.selfRegistration')
+                template(v-if='screen === "login" && selectedStrategy.key === `local` && selectedStrategy.selfRegistration')
                   v-divider
                   v-card-actions.py-3(:class='isSocialShown ? "" : "grey lighten-4"')
                     v-spacer