Skip to content

Commit 3cd4bec

Browse files
committed
support old pin if integer
1 parent ced60e9 commit 3cd4bec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export function setConfig(config: Config) {
7878

7979
export function getFlattenedConfig(): FlattenedConfig {
8080
const config = getConfig()
81+
config.auth.pin = config.auth.pin.toString() // convert previous pin if integer
8182
return {
8283
...DEFAULT_CONFIG,
8384
...config.auth,

0 commit comments

Comments
 (0)