Replace hard-coded username with current session user (still a temporary solution to work outside the Kolab environment)
This commit is contained in:
parent
19b0fdd999
commit
bfd10a9c49
1 changed files with 3 additions and 2 deletions
|
@ -22,8 +22,9 @@ class owncloud extends rcube_plugin
|
|||
{
|
||||
// requires kolab_auth plugin
|
||||
if (empty($_SESSION['kolab_uid'])) {
|
||||
$_SESSION['kolab_uid'] = 'tb';
|
||||
# return;
|
||||
// temporary:
|
||||
$_SESSION['kolab_uid'] = $_SESSION['username'];
|
||||
// return;
|
||||
}
|
||||
|
||||
$rcmail = rcube::get_instance();
|
||||
|
|
Loading…
Add table
Reference in a new issue