Commit Graph

7 Commits (713d98563d58a3eacc6a066b3d49440688afa009)

Author SHA1 Message Date
John Keeping 17f9d2003a Make Handler::before() hierarchy consistent
In API, the before() method (inherited from Handler) takes a $method
argument, although this is not declared for the before method() in
handler.  PHP in strict mode treats this as an error.

Since call sites already pass the $method argument, change
Handler::before() and the before() method in all other subclasses to
take this argument.
12 years ago
Andrew Dolgov 8db5d8ea6d add get_random_bytes() in case openssl_random_pseudo_bytes() is unavailable 13 years ago
Andrew Dolgov 098df83ba6 fix various password-change related functions 13 years ago
Andrew Dolgov 8484ce2258 experimental CSRF protection 13 years ago
Andrew Dolgov 09e8bdfd18 simplify default global config, expand sanity_check messages 13 years ago
Andrew Dolgov 46da73c255 implement ProtectedHandler 13 years ago
Andrew Dolgov 66665fba79 add Pref_Users class 13 years ago