mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 07:50:43 -05:00
🐛 Fix issue with password persistence
This commit is contained in:
parent
9e4650cbb6
commit
8ae05ff7b6
2 changed files with 2 additions and 1 deletions
|
@ -91,6 +91,7 @@
|
||||||
|
|
||||||
- Fix issue with shift+select to deselect shapes [Taiga #3154](https://tree.taiga.io/project/penpot/issue/3154)
|
- Fix issue with shift+select to deselect shapes [Taiga #3154](https://tree.taiga.io/project/penpot/issue/3154)
|
||||||
- Fix issue with drag-select shapes [Taiga #3165](https://tree.taiga.io/project/penpot/issue/3165)
|
- Fix issue with drag-select shapes [Taiga #3165](https://tree.taiga.io/project/penpot/issue/3165)
|
||||||
|
- Fix issue on password persistence after registration process on private instances
|
||||||
|
|
||||||
## 1.12.2-beta
|
## 1.12.2-beta
|
||||||
|
|
||||||
|
|
|
@ -130,6 +130,7 @@
|
||||||
:hint "you can't use your email as password"))
|
:hint "you can't use your email as password"))
|
||||||
|
|
||||||
(let [params {:email (:email params)
|
(let [params {:email (:email params)
|
||||||
|
:password (:password params)
|
||||||
:invitation-token (:invitation-token params)
|
:invitation-token (:invitation-token params)
|
||||||
:backend "penpot"
|
:backend "penpot"
|
||||||
:iss :prepared-register
|
:iss :prepared-register
|
||||||
|
@ -156,7 +157,6 @@
|
||||||
(let [claims (tokens :verify {:token token :iss :prepared-register})
|
(let [claims (tokens :verify {:token token :iss :prepared-register})
|
||||||
params (merge params claims)]
|
params (merge params claims)]
|
||||||
(check-profile-existence! conn params)
|
(check-profile-existence! conn params)
|
||||||
|
|
||||||
(let [is-active (or (:is-active params)
|
(let [is-active (or (:is-active params)
|
||||||
(contains? cf/flags :insecure-register))
|
(contains? cf/flags :insecure-register))
|
||||||
profile (->> (assoc params :is-active is-active)
|
profile (->> (assoc params :is-active is-active)
|
||||||
|
|
Loading…
Reference in a new issue