Преглед изворни кода

fix: hide create account link for non-local strategies

Nick пре 5 година
родитељ
комит
2fcbe4a3c1
1 измењених фајлова са 1 додато и 1 уклоњено
  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