Deprecate /group/, and reinstate login props flash #7

Merged
Teajey merged 2 commits from 5-simplify-routes into main 2024-12-05 21:19:52 +13:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit e9a8b7b020 - Show all commits

View File

@ -39,6 +39,7 @@ func LoginPost(h http.Header, r *rsvp.Request) rsvp.Response {
props := api.Login(username, password) props := api.Login(username, password)
if props != nil { if props != nil {
session.FlashSet(&props, "login_props")
return rsvp.SeeOther("/").SaveSession(session) return rsvp.SeeOther("/").SaveSession(session)
} }