Jump to content
Wiki Home
EPrints Home
Bazaar
Files
Main menu
Main menu
move to sidebar
hide
Navigation
Front Page
EPrints 3 Manual
EPrints Training Course
EPrints Glossary
Installing EPrints
How-to Configure EPrints
EPrints 3.2+ API
EPrints 3 Reference
EPrints Plugins
Wiki
All categories
Recent changes
Main Page
Help
EPrints Documentation
Search
Search
Appearance
Log in
Request account
Personal tools
Log in
Request account
Pages for logged out editors
learn more
Contributions
Talk
Editing
User auth limits.pl
Page
Discussion
British English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{dirs}} {{cfgd}} '''user_auth_limits.pl''' contains configuration that places limits on aspects of user authentication. It contains the following configuration options: * '''<code>$c->{max_login_attempts?</code>''' - Maximum number of failed login attempts before the account is locked. Default is 10. * '''<code>$c->{lockout_minutes}</code>''' - How long an account is locked if there are too many failed login attempts. Default is 10 minutes. * '''<code>$c->{reset_request_recent_hours}</code>''' - Number of hours before another password request email can be sent. Assuming the password was not reset by the previous email. This prevents users being incessantly spammed by unsolicited password reset emails. Default is 24 hours. * '''<code>$c->{max_account_requests}</code>''' - Maximum number of accounts tht can be requested in a set period. Default is 100. * '''<code>$c->{max_account_requests_minutes}</code>''' - Number of minutes for which no more than the <code>max_account_requests</code> can be requested. Default is 60 minutes. * '''<code>$c->{password_maxlength}</code>''' - The maximum number of characters that a password can have. Default is 200 characters. This is required to prevent malicious users typing in millions of characters for passwords and then trying to denial-of-service the repository whilst it try to hash them. This file also contain an '''<code>EP_TRIGGER_VALIDATE_FIELD</code>''' trigger to test any [[API:EPrints/MetaField/Secret|secret]] fields (likely to be password fields) are not trying to set a password longer than <code>$c->{password_maxlength}</code>. [[Category:Authentication]]
Summary:
Please note that all contributions to EPrints Documentation may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
EPrints Documentation:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Cfgd
(
edit
)
Template:Dirs
(
edit
)
Template:RefLinks
(
edit
)