Skip to content
Snippets Groups Projects
Commit c88d0c20 authored by pascoual's avatar pascoual
Browse files

Fix sql command to avoid import already linked

profiles in Writefreely DB
parent f020385c
No related branches found
No related tags found
No related merge requests found
......@@ -61,6 +61,12 @@ auth_endpoint = {{ url_for("sso.oidc_authorize", service_uuid=service.uuid,
left join
users wf
ON h.profile_name = wf.username
where NOT EXISTS
(
SELECT 1
FROM oauth_users oau
WHERE wf.id = oau.user_id
);
drop table tmp_hiboo;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment