Plugin/Events/User page on the wiki

43 views
Skip to first unread message

Ofer Cohen

unread,
Nov 26, 2012, 9:49:55 AM11/26/12
to joomla-...@googlegroups.com
Recently I've updated the doc of the user plugins events: http://docs.joomla.org/Plugin/Events/User to be compatible for 2.5.
Is onUserAuthorisationFailure replaced onAuthenticateFailure (later on 1.5)?
Please advice and feel free to help me with the doc update to 2.5 compatability.

Thanks, Ofer

nant

unread,
Nov 27, 2012, 1:04:19 AM11/27/12
to joomla-...@googlegroups.com
thanks for updating this.
question: is there any event when someone saves the user access permissions from the users option icon?

Sam Moffatt

unread,
Nov 27, 2012, 9:46:00 PM11/27/12
to joomla-...@googlegroups.com
I'm not sure what onAuthenticateFailure is off the top of my head and
I couldn't find it in a Joomla 1.5 instance I had locally.

onUserAuthorisationFailure was a new trigger I added to permit
authentication plugins to not authorise a user logging on for what
ever reason (blocked/denied from logging in, their account had expired
or just they didn't like the look of the user).

onUserLoginFailure[1] was the updated version of onLoginFailure that
exists in my version of Joomla 1.5[2]. That was part of the
namespacing of trigger events to make things clearer.

Cheers,

Sam Moffatt
http://pasamio.id.au

[1] https://github.com/joomla/joomla-cms/blob/master/libraries/legacy/application/application.php#L686
[2] Line 585 http://joomlacode.org/gf/project/joomla/scmsvn/?action=browse&path=%2Fdevelopment%2Ftags%2F1.5.x%2F1.5.26%2Flibraries%2Fjoomla%2Fapplication%2Fapplication.php&annotate=22953
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! CMS Development" group.
> To post to this group, send an email to joomla-...@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-cm...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
Reply all
Reply to author
Forward
0 new messages