Skip to content

Commit

Permalink
Always display the signup CTA for guest users.
Browse files Browse the repository at this point in the history
  • Loading branch information
damingo committed Jul 6, 2019
1 parent 77e3614 commit 10fe0b6
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import Session from "discourse/models/session";

const ANON_TOPIC_IDS = 2;
const ANON_PROMPT_READ_TIME = 2 * 60 * 1000;
// damingo (Github ID), 2019-07-06
// See: https://meta.discourse.org/t/where-to-control-when-the-signup-cta-shows/43047/6
const ANON_TOPIC_IDS = 0; // 2;
const ANON_PROMPT_READ_TIME = 0; // 2 * 60 * 1000;


const ONE_DAY = 24 * 60 * 60 * 1000;
const PROMPT_HIDE_DURATION = ONE_DAY;

Expand Down

0 comments on commit 10fe0b6

Please sign in to comment.