Skip to content

Commit

Permalink
Merge pull request #1018 from PlanoramaEvents/plan-962-no-more-clyde-…
Browse files Browse the repository at this point in the history
…login

disable clyde login
  • Loading branch information
Gailbear authored Apr 21, 2024
2 parents 3f0dcf8 + 3fef0a1 commit 43b1b0e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/javascript/login/login_integrations.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<input type="hidden" v-model="csrfToken" name="authenticity_token" />
<b-button type="submit" variant="primary" class="w-100 mb-2">{{ integration.buttonText || "Log in with " + integration.name }}</b-button>
</form>
<span v-if="clydeIntegration">You can also <router-link :to="'/login/clyde?redirect=' + redirect">Log In</router-link> with {{ clydeIntegration.linkText || 'Clyde' }}.</span>
<span v-if="clydeIntegration && !noClydeLogin">You can also <router-link :to="'/login/clyde?redirect=' + redirect">Log In</router-link> with {{ clydeIntegration.linkText || 'Clyde' }}.</span>
</div>
</template>

Expand All @@ -15,6 +15,10 @@ import { loginIntegrationsMixin } from '@/store/login_integrations.mixin';
export default {
name: "LoginIntegrations",
mixins: [loginIntegrationsMixin],
data: () => ({
// the way clyde does logins is stupid
noClydeLogin: true
}),
params: {
redirect: {
type: String,
Expand Down

0 comments on commit 43b1b0e

Please sign in to comment.