Skip to content

Commit

Permalink
Item14460: Login should set sessionRequired context
Browse files Browse the repository at this point in the history
Some login managers might need to set session data during the login
process.  With no session, this can't happen.
  • Loading branch information
gac410 committed Aug 18, 2017
1 parent 96c6f1b commit c58cfe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/lib/Foswiki/UI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ BEGIN {
$Foswiki::cfg{SwitchBoard}{login} = {
package => undef,
function => 'logon',
context => { ( login => 1, logon => 1 ) },
context => { ( login => 1, logon => 1, sessionRequired => 1 ) },
};
$Foswiki::cfg{SwitchBoard}{logon} = {
package => undef,
function => 'logon',
context => { ( login => 1, logon => 1 ) },
context => { ( login => 1, logon => 1, sessionRequired => 1 ) },
};
$Foswiki::cfg{SwitchBoard}{manage} = {
package => 'Foswiki::UI::Manage',
Expand Down

0 comments on commit c58cfe4

Please sign in to comment.