liquid_feedback_frontend

changeset 1316:186a172c8b9e

Allow forced manual verification w/o sms check
author bsw
date Wed Aug 01 17:46:20 2018 +0200 (2018-08-01)
parents 4c6165d43981
children 8d0a49d5ed7e
files app/main/registration/_action/register.lua
line diff
     1.1 --- a/app/main/registration/_action/register.lua	Wed Aug 01 17:32:19 2018 +0200
     1.2 +++ b/app/main/registration/_action/register.lua	Wed Aug 01 17:46:20 2018 +0200
     1.3 @@ -232,6 +232,10 @@
     1.4    table.insert(manual_check_reasons, "User requested manual verification (during step 1)")
     1.5  end
     1.6  
     1.7 +if not config.self_registration.sms_id then
     1.8 +  table.insert(manual_check_reasons, "User requested manual verification (during step 1)")
     1.9 +end
    1.10 +
    1.11  local existing_verifications = Verification:new_selector()
    1.12    :add_where{ "request_data->>'mobile_phone' = ?", mobile_phone }
    1.13    :add_where("comment ilike '%SMS code%'")

Impressum / About Us