remove unneeded identity param in session
This commit is contained in:
parent
086ea9d7ad
commit
0ec34bd9dc
1 changed files with 1 additions and 2 deletions
|
@ -16,8 +16,7 @@
|
||||||
(cond-> (some (partial = (select-keys user [:zeusid :name])) admins)
|
(cond-> (some (partial = (select-keys user [:zeusid :name])) admins)
|
||||||
(->
|
(->
|
||||||
(assoc-in [:user :admin] {:enabled false})
|
(assoc-in [:user :admin] {:enabled false})
|
||||||
(assoc-in [:user :roles] #{:admin})
|
(assoc-in [:user :roles] #{:admin}))))]
|
||||||
(assoc :identity "foo"))))]
|
|
||||||
(-> (found redirect-url)
|
(-> (found redirect-url)
|
||||||
(assoc :session new-session))))
|
(assoc :session new-session))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue