User email confirmation is now optional

This commit is contained in:
riggraz
2019-09-23 15:52:00 +02:00
parent 10f73d876e
commit eed2ef5446
3 changed files with 10 additions and 3 deletions

View File

@@ -19,5 +19,9 @@ module App
def name
ENV["APP_NAME"]
end
def email_confirmation?
ENV["EMAIL_CONFIRMATION"] == "1"
end
end
end