liquid_feedback_frontend

diff app/main/index/_action/login.lua @ 1309:32cc544d5a5b

Cumulative patch for upcoming frontend version 4
author bsw/jbe
date Sun Jul 15 14:07:29 2018 +0200 (2018-07-15)
parents 904f6807f7fa
children 71232f776a62
line diff
     1.1 --- a/app/main/index/_action/login.lua	Thu Jun 23 03:30:57 2016 +0200
     1.2 +++ b/app/main/index/_action/login.lua	Sun Jul 15 14:07:29 2018 +0200
     1.3 @@ -99,6 +99,7 @@
     1.4    member:save()
     1.5    app.session.member = member
     1.6    app.session:save()
     1.7 +
     1.8    trace.debug('User authenticated')
     1.9    if config.etherpad then
    1.10      do_etherpad_auth(member)
    1.11 @@ -116,9 +117,7 @@
    1.12      ui.tag { content = _"to show more info and learn what you can do" }
    1.13    end )
    1.14  else
    1.15 -  slot.select("error", function()
    1.16 -    ui.tag{ content = _'Invalid login name or password!' }
    1.17 -  end)
    1.18 +  slot.put_into("error_code", "invalid_credentials")
    1.19    trace.debug('User NOT authenticated')
    1.20    return false
    1.21  end

Impressum / About Us