AMH: implemented version tag modes as site settings, removed autoRequestCommit setting
This commit is contained in:
parent
9feb541d62
commit
d22214e0dd
4 changed files with 209 additions and 48 deletions
9
lib/WebGUI/Auth.pm
Normal file → Executable file
9
lib/WebGUI/Auth.pm
Normal file → Executable file
|
|
@ -760,6 +760,8 @@ sub isVisitor {
|
|||
Superclass method that performs standard login routines. This is what should happen after a user has been authenticated.
|
||||
Authentication should always happen in the subclass routine.
|
||||
|
||||
AMH: open version tag is reclaimed if user is in site wide or singlePerUser mode.
|
||||
|
||||
=cut
|
||||
|
||||
sub login {
|
||||
|
|
@ -803,7 +805,12 @@ sub login {
|
|||
$self->session->http->setRedirect($self->session->scratch->get("redirectAfterLogin"));
|
||||
$self->session->scratch->delete("redirectAfterLogin");
|
||||
}
|
||||
|
||||
|
||||
#AMH: get open version tag. This is needed if we want
|
||||
# to reclaim a version right after login (singlePerUser and siteWide mode)
|
||||
# and to have the correct version displayed.
|
||||
WebGUI::VersionTag->getWorking($self->session(), q{noCreate});
|
||||
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue