Browse Source

fix: hide create account link for non-local strategies

Nick 5 years ago
parent
commit
2fcbe4a3c1
1 changed files with 1 additions and 1 deletions
  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