indication / OpenRedmine

Open Redmine
http://indication.github.io/OpenRedmine/
88 stars 44 forks source link

automatic getting API key prevent me from change user name #148

Closed leshicus closed 8 years ago

leshicus commented 9 years ago

I did try to change user name, but always when I clicked to get API key, program automatic logged in to redmine, not giving me a chance to change a login and password. I had to change a password, to get an error, and after that to set new login and password. I think that it is a bug. my device is under Android 4.2, version openredmine 3.14[47]

indication commented 9 years ago

Thank you for reporting. I would retry to rewrite this again. It would be enabled caches about cookies. To solve this without waiting for release, clear the app's cache or you did things.

The problem is using first time GetToken. You would been checked save-login. The browser saves the state. This is good for people but also makes wrong to people in such case. When logout, redmine redirects other page. The app close the webview after detected leaving from redmine. (The sensor is URL that start with input value. If loading page is not started with the URL, finish the activity) This action has following reasons:

I tried to change webview to defaultHttpClient, but it is difficult for me. I got a Exception. We would try to rewrite this again.

indication commented 8 years ago

Found this is bug. Cookies kept forever.