mirror of
https://github.com/ThisIsBenny/iOS-Widgets.git
synced 2025-06-06 21:47:40 +00:00
more login
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
parent
22a3fd91a1
commit
54c5341e8e
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ async function getSessionCookies() {
|
|||
})
|
||||
try {
|
||||
let res = await req.loadJSON()
|
||||
console.log("Login sucessfull")
|
||||
return { cookies: req.response.cookies, msisdn: res.msisdn}
|
||||
} catch (e) {
|
||||
console.log("Login vailed! Please check if Wifi is disabled.")
|
||||
|
|
Loading…
Add table
Reference in a new issue