Bug #6775
Image-upload fails while using anonymous access
| Status: | New | Start date: | 2010-03-10 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | Spent time: | - | |
| Target version: | - | |||
| Votes: | 0 |
Description
If the "Use anonymous"-option is active in the plugin and the FE-user isn't logged in, it's not possible to upload images.
The script templates/image.php ignores the "Use anonymous"-option:
line 4:
if($this->controller->configurations->get('useAnonymous') || ($this->username != 'anonymous' && $this->username != '')){
It should be:
if($this->controller->configurations->get('anonymous') || ($this->username != 'anonymous' && $this->username != '')){
But this doesn't work either. In $this->controller->configurations the key "anonymous" is missing.
Best regards
Tobias Schaefer