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