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)
|
||||
(->
|
||||
(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))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue