Initial Release
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
(() => {
|
||||
const href = document.location.href
|
||||
const token = new URLSearchParams(href.slice(href.indexOf('?') + 1)).get('token')
|
||||
if (token) CallAPI('POST', '/v1/auth/verify-login/' + token, 'public')
|
||||
CreateMessage(
|
||||
'Login Verified',
|
||||
'You can log in from the your new device. Redirecting you to the login page...',
|
||||
'Done', () => window.location.assign('/login')
|
||||
)
|
||||
})()
|
||||
Reference in New Issue
Block a user