diff --git a/CHANGES.md b/CHANGES.md index 833f76de8..61e7fde3c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ - 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 on password persistence after registration process on private instances ## 1.12.2-beta diff --git a/backend/src/app/rpc/mutations/profile.clj b/backend/src/app/rpc/mutations/profile.clj index 85acbe863..b286413fc 100644 --- a/backend/src/app/rpc/mutations/profile.clj +++ b/backend/src/app/rpc/mutations/profile.clj @@ -6,6 +6,7 @@ (ns app.rpc.mutations.profile (:require + [app.common.data :as d] [app.common.exceptions :as ex] [app.common.spec :as us] [app.common.uuid :as uuid] @@ -123,6 +124,7 @@ :hint "you can't use your email as password")) (let [params {:email (:email params) + :password (:password params) :invitation-token (:invitation-token params) :backend "penpot" :iss :prepared-register @@ -149,7 +151,6 @@ params (merge params claims)] (check-profile-existence! conn params) - (let [is-active (or (:is-active params) (contains? cf/flags :insecure-register)) profile (->> (assoc params :is-active is-active)