Skip to content
Snippets Groups Projects
Unverified Commit a5f99d0d authored by Alexander Polyankin's avatar Alexander Polyankin Committed by GitHub
Browse files

Fix google-auth-enabled when upgrading from pre x.45 (#26200)

parent bf4d1bd4
Branches
Tags
No related merge requests found
......@@ -44,6 +44,10 @@
(deferred-tru "Is Google Sign-in currently enabled?")
:visibility :public
:type :boolean
:getter (fn []
(if-some [value (setting/get-value-of-type :boolean :google-auth-enabled)]
value
(boolean (google-auth-client-id))))
:setter (fn [new-value]
(if-let [new-value (boolean new-value)]
(if-not (google-auth-client-id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment