liquid_feedback_frontend
changeset 1346:19cdb6123514
Fixed creating account with verification images
author | bsw |
---|---|
date | Sun Aug 05 19:25:02 2018 +0200 (2018-08-05) |
parents | 4ad5104c0cb5 |
children | 1abf48fc5cd8 |
files | app/main/registration_admin/_action/update_verification.lua |
line diff
1.1 --- a/app/main/registration_admin/_action/update_verification.lua Fri Aug 03 17:50:26 2018 +0200 1.2 +++ b/app/main/registration_admin/_action/update_verification.lua Sun Aug 05 19:25:02 2018 +0200 1.3 @@ -9,7 +9,7 @@ 1.4 value = string.gsub(value, "[^A-Z0-9]", "") 1.5 elseif field.name == "mobile_phone" then 1.6 value = string.gsub(value, "[^0-9]", "") 1.7 - else 1.8 + elseif field.type ~= "image" then 1.9 value = string.gsub(value, "^%s+", "") 1.10 value = string.gsub(value, "%s+$", "") 1.11 value = string.gsub(value, "%s+", " ")