One more set of fixes for new approach.

This commit is contained in:
2023-01-11 15:32:08 -08:00
parent b096863842
commit 9615350eb9
3 changed files with 12 additions and 4 deletions

View File

@@ -57,7 +57,7 @@
{:status 301
:headers {"Location" (str "/?jwt=" jwt)}
:session {:identity auth}})
:session {:identity (dissoc auth :exp)}})
{:status 401
:body "Couldn't authenticate"}))
(catch Exception e