lib/TWiki/LoginManager/TemplateLogin.pm
changeset 2 7bc60a767fa4
parent 1 e2915a7cbdfa
equal deleted inserted replaced
1:e2915a7cbdfa 2:7bc60a767fa4
    54     my( $class, $session ) = @_;
    54     my( $class, $session ) = @_;
    55     my $this = $class->SUPER::new($session);
    55     my $this = $class->SUPER::new($session);
    56     $session->enterContext( 'can_login' );
    56     $session->enterContext( 'can_login' );
    57     if ($TWiki::cfg{Sessions}{ExpireCookiesAfter}) {
    57     if ($TWiki::cfg{Sessions}{ExpireCookiesAfter}) {
    58         $session->enterContext( 'can_remember_login' );
    58         $session->enterContext( 'can_remember_login' );
       
    59     }
       
    60     if ($TWiki::cfg{TemplateLogin}{PreventBrowserRememberingPassword}) {
       
    61         $session->enterContext( 'no_auto_complete_login' );
    59     }
    62     }
    60     return $this;
    63     return $this;
    61 }
    64 }
    62 
    65 
    63 =pod
    66 =pod