Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

#14 go back home after saving settings

  • Loading branch information...
commit fe9e4b40dfeb4bf21be9c3e553ccc596dd9bbe7c 1 parent c7f01f8
Viktor Turskyi authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Mojolicious/Plugin/UserManager/Controller/Users.pm
View
1  lib/Mojolicious/Plugin/UserManager/Controller/Users.pm
@@ -152,6 +152,7 @@ sub update {
$self->um_storage->set( $self->stash('user_id'), $u_data );
$self->flash( um_notice => 'Saved' );
+ return $self->redirect_to( $self->um_config->{home_url} );
} else {
$self->flash( %$u_data, $self->_get_error_messages($result));
}
Please sign in to comment.
Something went wrong with that request. Please try again.