fix(desktop): correct user code extraction when URL contains colons (#28837)
This commit is contained in:
@@ -524,7 +524,7 @@ export function DialogConnectProvider(props: { provider: string }) {
|
|||||||
const code = createMemo(() => {
|
const code = createMemo(() => {
|
||||||
const instructions = store.authorization?.instructions
|
const instructions = store.authorization?.instructions
|
||||||
if (instructions?.includes(":")) {
|
if (instructions?.includes(":")) {
|
||||||
return instructions.split(":")[1]?.trim()
|
return instructions.split(":").pop()?.trim()
|
||||||
}
|
}
|
||||||
return instructions
|
return instructions
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user