Do not allow any backdoors for Visitor to get into his account. Fixes bug #11572.
This commit is contained in:
parent
d99e4cc415
commit
414e60380f
2 changed files with 2 additions and 0 deletions
|
|
@ -17,6 +17,7 @@
|
|||
- fixed #11567: EMS: Build badge page, ticket tab, pagination
|
||||
- added: a new inbox setting which supresses friend rejection notices
|
||||
- fixed #11552: Visitors (and others) can bypass group-by-IP restrictions
|
||||
- fixed #11572: visitors can enter editProfile
|
||||
|
||||
7.9.4
|
||||
- We're shipping underscore.js now for its suite of extremely handy utility
|
||||
|
|
|
|||
|
|
@ -185,6 +185,7 @@ A reference to the current session.
|
|||
|
||||
sub www_editProfile {
|
||||
my $session = shift;
|
||||
return $session->privilege->insufficient if $session->user->isVisitor;
|
||||
my $instance = WebGUI::Content::Account->createInstance($session,"profile");
|
||||
return $instance->displayContent($instance->callMethod("edit"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue