Skip to content

Commit fc30b2d

Browse files
Etsijasschuberth
authored andcommitted
feat(ui): Align the default NPM auth mode with the backend
In [1], the default `authMode` for `NpmDefinition` is `PASSWORD`, so align the frontend with the backend. [1]: https://github.com/eclipse-apoapsis/ort-server/blob/ed3805278dcf261633844f7e0478463647e11895/workers/common/src/main/kotlin/common/env/definition/NpmDefinition.kt#L89 Signed-off-by: Jyrki Keisala <[email protected]>
1 parent 60b9cef commit fc30b2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/lib/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export const npmEnvironmentDefinitions: EnvironmentDefinitions = {
9494
service: '',
9595
scope: '',
9696
email: '',
97-
authMode: NpmAuthMode.USERNAME_PASSWORD_AUTH,
97+
authMode: NpmAuthMode.PASSWORD,
9898
},
9999
],
100100
};

0 commit comments

Comments
 (0)