Fixes issue with same device on HT
This commit is contained in:
parent
9874dda30e
commit
dbba63e1ba
|
@ -122,7 +122,10 @@ export const Login = () => {
|
||||||
showModal(true)
|
showModal(true)
|
||||||
|
|
||||||
let ssn
|
let ssn
|
||||||
if (loginMethodId === 'otherdevice') {
|
if (
|
||||||
|
loginMethodId === 'otherdevice' ||
|
||||||
|
(loginMethodId === 'thisdevice' && !loginBankIdSameDeviceWithoutId)
|
||||||
|
) {
|
||||||
ssn = Personnummer.parse(text).format(true)
|
ssn = Personnummer.parse(text).format(true)
|
||||||
setPersonalIdNumber(ssn)
|
setPersonalIdNumber(ssn)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue