liquid_feedback_frontend
diff app/main/index/login.lua @ 729:f52f918b38b8
Cleanup of config and orphaned code
| author | bsw |
|---|---|
| date | Thu Jun 28 17:07:00 2012 +0200 (2012-06-28) |
| parents | f9b80c930456 |
| children | ea2449916c12 |
line diff
1.1 --- a/app/main/index/login.lua Thu Jun 28 16:31:02 2012 +0200 1.2 +++ b/app/main/index/login.lua Thu Jun 28 17:07:00 2012 +0200 1.3 @@ -7,10 +7,9 @@ 1.4 1.5 execute.view{ module = "index", view = "_lang_chooser" } 1.6 1.7 -slot.put_into("title", encode.html(config.app_title)) 1.8 +ui.title(_"Login") 1.9 app.html_title.title = _"Login" 1.10 1.11 - 1.12 if config.motd_public then 1.13 local help_text = config.motd_public 1.14 ui.container{ 1.15 @@ -65,28 +64,3 @@ 1.16 } 1.17 end 1.18 } 1.19 - 1.20 -if config.auth_openid_enabled then 1.21 - ui.form{ 1.22 - attr = { class = "login" }, 1.23 - module = 'openid', 1.24 - action = 'initiate', 1.25 - routing = { 1.26 - default = { 1.27 - mode = 'forward', 1.28 - module = 'index', 1.29 - view = 'login', 1.30 - } 1.31 - }, 1.32 - content = function() 1.33 - ui.field.text{ 1.34 - label = _'OpenID', 1.35 - html_name = 'openid_identifier', 1.36 - value = '' 1.37 - } 1.38 - ui.submit{ 1.39 - text = _'OpenID Login' 1.40 - } 1.41 - end 1.42 - } 1.43 -end