mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 23:59:40 +02:00
Do not show registation link when REQUIRE_INVITE_CODE=true (#1148)
This commit is contained in:
parent
0c8cf7e217
commit
9172eb931b
2 changed files with 9 additions and 3 deletions
|
@ -154,4 +154,8 @@ module ApplicationHelper
|
|||
.map { |_currency, money| format_money(money) }
|
||||
.join(separator)
|
||||
end
|
||||
|
||||
def invite_code_required?
|
||||
ENV["REQUIRE_INVITE_CODE"] == "true"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue