                   :summary "Get languages"
                   (if (private? ctx)
                     (forbidden)
-                    (assoc-in (ok {:languages (get-in ctx [:config :core :languages])}) [:session :seen-terms] true)))
+                  (assoc-in (ok {:languages (get-in ctx [:config :core :languages])}) [:session :seen-terms] true)))
 
              (POST "/register" req
                    ;:return

            [ring.util.io :as io]
            [salava.core.layout :as layout]
            [schema.core :as s]
            [salava.core.util :refer [get-base-path]]
            [salava.user.schemas :as schemas]
            [salava.user.db :as u]
            [salava.mail.email-notifications :as en]

                   (let [{:keys [email first_name last_name country language password password_verify accept_terms]} form-content
                         save (u/register-user ctx email first_name last_name country language password password_verify)
                         user-id (u/get-user-by-email ctx email)
                         gdpr-disabled? (first (mapcat #(get-in ctx [:config % :disable-gdpr] []) (get-plugins ctx)))
                         update-accept-term (if gdpr-disabled? {:status "success" :input "disabled"} (u/insert-user-terms ctx (:id user-id) accept_terms))]

                     (if (= "error" (:status save))
                       ;return error status from save
