Users are now prompted to log in, if not logged in, when clicking on an unsubscribe CS email link
This commit is contained in:
parent
ecdf976f45
commit
498cc40701
2 changed files with 8 additions and 3 deletions
|
|
@ -32,6 +32,7 @@
|
|||
- added: Inbox messages now tell you who the message was from
|
||||
- fixed: Reoccurring transactions now update the correct user id
|
||||
- fixed: I need a template for this display
|
||||
- fixed: If a user clicks on an unsubscribe link in an email and they are not logged into WebGUI, they are now prompted to log in so that they can then unsbscribe.
|
||||
|
||||
7.5.22
|
||||
- fixed: Layout template now gets prepared correctly
|
||||
|
|
|
|||
|
|
@ -1472,9 +1472,13 @@ The web method to unsubscribe from a collaboration.
|
|||
=cut
|
||||
|
||||
sub www_unsubscribe {
|
||||
my $self = shift;
|
||||
$self->unsubscribe if $self->canSubscribe;
|
||||
return $self->www_view;
|
||||
my $self = shift;
|
||||
if($self->canSubscribe){
|
||||
$self->unsubscribe;
|
||||
return $self->www_view;
|
||||
}else{
|
||||
return $self->session->privilege->noAccess;
|
||||
}
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue