liquid_feedback_frontend
diff app/main/index/_action/login.lua @ 1074:aefef1556d55
Removed usage of hstore from LDAP support
| author | bsw |
|---|---|
| date | Tue Jul 22 22:17:37 2014 +0200 (2014-07-22) |
| parents | 58f48a8a202a |
| children | 904f6807f7fa |
line diff
1.1 --- a/app/main/index/_action/login.lua Fri Jul 18 23:13:19 2014 +0200 1.2 +++ b/app/main/index/_action/login.lua Tue Jul 22 22:17:37 2014 +0200 1.3 @@ -5,10 +5,8 @@ 1.4 1.5 if err == "ldap_credentials_valid_but_no_member" then 1.6 app.session.authority = "ldap" 1.7 - app.session.authority_data = encode.pg_hstore{ 1.8 - login = login, 1.9 - uid = uid 1.10 - } 1.11 + app.session.authority_uid = uid 1.12 + app.session.authority_login = login 1.13 app.session:save() 1.14 request.redirect{ 1.15 module = "index", view = "register", params = {