Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (37 sloc) 1.23 KB
__NAME__ purpose
allow autologin based on username and password stored in a client cookie
__END__
__NAME__ synopsis
<group choice='plain'>
<arg choice='plain'>No</arg>
<arg choice='plain'>Yes</arg>
</group>
__END__
__NAME__ see also
CookieDomain,CookieLogin,Cookies,SaveExpire
__END__
__NAME__ description
The directive allows &IC; to save users' authentication info (username/password)
in a &glos-cookie;. Cookie expiration time is set by &conf-SaveExpire; and is
renewed each time they log in.
</para><para>
If the login and password information can be read from a cookie, then
users can be logged in to the site automatically as they visit it.
__END__
__NAME__ notes
To cause the cookie to be generated originally,
<mv>mv_cookie_password</mv> and/or <mv>mv_cookie_username</mv> must be set
to a &glos-true; value.
The former causes both username and password to be saved; the latter just
the username.
</para><para>
For a complete discussion on cookies, see &glos-cookie; glossary entry.
__END__
TODO: Does the above really happen automatically - when you turn on
CookieLogin, or you need ScratchDefault mv_cookie_password 1 or some thing like
that?
__NAME__ example: Enabling CookieLogin
<programlisting>
CookieLogin 1
</programlisting>
__END__