Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

로그인 실패하고 다시 로그인 할떄 세션 오류가 남 #328

Open
clcocd opened this issue Aug 18, 2024 · 0 comments
Open

로그인 실패하고 다시 로그인 할떄 세션 오류가 남 #328

clcocd opened this issue Aug 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@clcocd
Copy link

clcocd commented Aug 18, 2024

 while (true){
                val (id , pw) = userInput()
                try {
                    KotlinInside.createInstance(
                        LoginUser(id.toString(), pw.toString()),
                        DefaultHttpClient(okHttpClient = OkHttpClient.Builder().ignoreAllSSLErrors().build()),
                        true
                    )
                    print("\n")
                    println("로그인성공")
                    print("\n")
                    break
                } catch (e: be.zvz.kotlininside.http.HttpException) {
                    print("\n")
                    println("\u001b[31m 로그인을 실패 했습니다 아이디랑 비번을 확인 해주세요. \u001b[0m")
                    continue
                }
            }

라는 코드를 짰을때
유저가 한번 실패후 다시 로그인 하면
세션을 받아오지 못하는데 이럴경우엔 어떻게 해야 하나요?

@JellyBrick JellyBrick added the bug Something isn't working label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants