Fixed bug it is not possible to login using two accounts in saml server. Clear webvie...
authorjabarros <jabarros@solidgear.es>
Thu, 4 Sep 2014 11:13:07 +0000 (13:13 +0200)
committerjabarros <jabarros@solidgear.es>
Thu, 4 Sep 2014 11:13:07 +0000 (13:13 +0200)
src/com/owncloud/android/authentication/SsoWebViewClient.java

index 88cea8a..b9b7319 100644 (file)
@@ -87,6 +87,7 @@ public class SsoWebViewClient extends WebViewClient {
     @Override
     public void onPageStarted (WebView view, String url, Bitmap favicon) {
         Log_OC.d(TAG, "onPageStarted : " + url);
     @Override
     public void onPageStarted (WebView view, String url, Bitmap favicon) {
         Log_OC.d(TAG, "onPageStarted : " + url);
+        view.clearCache(true);
         super.onPageStarted(view, url, favicon);
     }
     
         super.onPageStarted(view, url, favicon);
     }