fix: reinstate login props flash

This commit is contained in:
Teajey 2024-12-05 17:14:40 +09:00
parent 8175812e48
commit e9a8b7b020
Signed by: Teajey
GPG Key ID: 970E790FE834A713
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}