liquid_feedback_frontend
diff app/main/member/_action/update_name.lua @ 1071:58f48a8a202a
Imported and merged LDAP patch
author | bsw |
---|---|
date | Fri Jul 18 21:42:59 2014 +0200 (2014-07-18) |
parents | c587d8762e62 |
children | 32cc544d5a5b |
line diff
1.1 --- a/app/main/member/_action/update_name.lua Thu Jul 17 23:38:35 2014 +0200 1.2 +++ b/app/main/member/_action/update_name.lua Fri Jul 18 21:42:59 2014 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -if config.locked_profile_fields.name then 1.5 +if util.is_profile_field_locked(app.session.member, "name") then 1.6 error("access denied") 1.7 end 1.8