Browse Source

Use a different key than "user" to store the shib user

There is a HACK from commit fa0a2764a40d5955f1d3426481f998a370223290
Which save the http user as a user for all credidentials, but that
cannot work with shibboleth

Fixes https://github.com/owncloud/enterprise/issues/175
Olivier Goffart 11 years ago
parent
commit
574e030caf
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/creds/shibbolethcredentials.cpp

+ 2 - 1
src/creds/shibbolethcredentials.cpp

@@ -43,7 +43,8 @@ namespace Mirall
 namespace
 {
 
-const char userC[] = "user";
+// Not "user" because it has a special meaning for http
+const char userC[] = "shib_user";
 
 int shibboleth_redirect_callback(CSYNC* csync_ctx,
                                  const char* uri)