Re: A few minor UserDB patch proposals
"Gert van der Spoel" <[email protected]>
| Newsgroups | gmane.comp.web.interchange.users |
|---|---|
| Message-ID | <[email protected]> |
> On 12/23/2016 05:39 AM, Jon Jensen wrote: > > Everyone, > > > > I'd like to propose a few minor patches to UserDB. > > > > The first one is at login time, to set $Vend::admin earlier so that > > its value is accessible to the optional postlogin_action: > > > > > https://github.com/jonjensen/interchange/commit/e250c1f2701eec05f1e6f6 > > c68af919e12af1d63c > > > > > > From what I can see that should not have any ill effect, or any other > > effect at all, really, since nothing else happens in the interim. > > > > The second one is to add a prelogout_action akin to the > > postlogin_action and allow arbitrary code to be hooked into the logout > function: > > > > > https://github.com/jonjensen/interchange/commit/02467791bf3ed83551ca9d > > af919f81115373b296 > > > > > > Any objections or comments? > > > > Thanks, > > Jon > > > > > > Sounds good to me ... +1 > > Regards > Racke +1 & Happy holidays :)