mirror of
https://github.com/a-mayb3/KanbanCloneAndroid.git
synced 2026-03-21 10:05:39 +01:00
Removed port from host that would break cookie deletion
This commit is contained in:
parent
96f7980fb0
commit
6ee5e225ef
1 changed files with 2 additions and 1 deletions
|
|
@ -82,8 +82,9 @@ class MainActivity : AppCompatActivity() {
|
||||||
if (logoutResponse.isSuccessful) {
|
if (logoutResponse.isSuccessful) {
|
||||||
// Clear cookies for the API host
|
// Clear cookies for the API host
|
||||||
RetrofitInstance.clearCookiesForHost(
|
RetrofitInstance.clearCookiesForHost(
|
||||||
"10.0.2.2:8000"
|
"10.0.2.2"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Navigate back to the login screen
|
// Navigate back to the login screen
|
||||||
val intent =
|
val intent =
|
||||||
Intent(this@MainActivity, LoginActivity::class.java)
|
Intent(this@MainActivity, LoginActivity::class.java)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue