feat!: add totp by link "otpauth" function implemented
This commit is contained in:
@@ -15,8 +15,8 @@ Page(
|
||||
app._options.globalData.TOTPS = x
|
||||
this.initPage();
|
||||
})
|
||||
.catch((x) => {
|
||||
app._options.globalData.TOTPS = localStorage.getItem('TOTPs')
|
||||
.catch(() => {
|
||||
app._options.globalData.TOTPS = localStorage.getItem('TOTPs') ?? []
|
||||
this.initPage()
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user