@@ -35,18 +35,18 @@ function set_users_login_source() {
for username in$(ynh_user_list);do
ynh_print_info --message="Updating forgejo user login type for ${username}"
ynh_psql_execute_as_root --database$db_name--sql"update public.user set login_source = (select id from login_source where name = 'YunoHost LDAP' and type = 5), login_name = name, login_type = 5 where name = '${username}'"
ynh_psql_execute_as_root --database"$db_name"--sql"update public.user set login_source = (select id from login_source where name = 'YunoHost LDAP' and type = 5), login_name = name, login_type = 5 where name = '${username}'"