[pmwiki-users] How do you test you have logged successfully ?

Patrick R. Michaud pmichaud at pobox.com
Wed Jun 13 12:28:57 CDT 2007


On Wed, Jun 13, 2007 at 07:21:27PM +0200, St�phane Heckel wrote:
> 
> "Patrick R. Michaud" wrote :
> 
> > What it really tests is whether or not any passwords have been
> > entered.  If using a non-identity based authorization system, there's
> > really not a notion of "logged in", but only "have you entered any
> > passwords"?
> 
> so, no way to test if valid user/password have been entered (according infos 
> in Site.AuthUser page) ? 

If you're using Site.AuthUser, then that's identity-based authorization.
If you want to check that someone has logged in with a valid username 
and password (as opposed to simply having entered a password), use:

  (:if authid:)

Pm



More information about the pmwiki-users mailing list