ApiSettingsForm conflicts with the "services_api_key_auth" module

Created on 15 March 2024, 9 months ago

Problem/Motivation

It is not possible to save OpenAI settings when the module "services_api_key_auth" is installed.
"services_api_key_auth" contains an authentication provider which breaks saving of the form.
The reason is the use of the name "api_key" for the form field.

Proposed resolution

The solution is to use more unique names for the fields. For example $form['openai_api_key'], $form['openai_api_org'].

🐛 Bug report
Status

Active

Version

1.0

Component

OpenAI ChatGPT

Created by

🇷🇺Russia v_kron

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024