mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-08-17 11:13:32 +08:00
using debug credentials provider whenever development mode is active
This commit is contained in:
@@ -34,7 +34,7 @@ if (process.env.DISCORD_CLIENT_ID) {
|
||||
);
|
||||
}
|
||||
|
||||
if (boolean(process.env.DEBUG_FAKE_USERS)) {
|
||||
if (boolean(process.env.NODE_ENV === "development")) {
|
||||
providers.push(
|
||||
CredentialsProvider({
|
||||
name: "Debug Credentials",
|
||||
|
||||
Reference in New Issue
Block a user