remove unneeded identity param in session

This commit is contained in:
mcbloch 2019-06-09 23:27:08 +02:00
parent 086ea9d7ad
commit 0ec34bd9dc

View file

@ -16,8 +16,7 @@
(cond-> (some (partial = (select-keys user [:zeusid :name])) admins)
(->
(assoc-in [:user :admin] {:enabled false})
(assoc-in [:user :roles] #{:admin})
(assoc :identity "foo"))))]
(assoc-in [:user :roles] #{:admin}))))]
(-> (found redirect-url)
(assoc :session new-session))))