fix: reinstate login props flash
This commit is contained in:
parent
8175812e48
commit
e9a8b7b020
|
|
@ -39,6 +39,7 @@ func LoginPost(h http.Header, r *rsvp.Request) rsvp.Response {
|
|||
|
||||
props := api.Login(username, password)
|
||||
if props != nil {
|
||||
session.FlashSet(&props, "login_props")
|
||||
return rsvp.SeeOther("/").SaveSession(session)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue