Forum for discussing general topics related to Couch.
2 posts Page 1 of 1
Hi !

An interesting questions -

1. Can is blocked for some time entrance to adimin panel after 3 unsuccessful attempts to login?

2. Can it make a ban browser to remember enter your username and password in the input box?

3 Can I hide the input characters in:
Code: Select all
<cms:input name="human"  type="text" required='1' validator='regex=/(white|green|red)$/i' separator='#' validator_msg='regex=My condition is here' label='Secur' />

I tried to replace type="text" with type='password' but the code does not work!

I think that it is important for all Couch users ;)
Table couch_users have a column 'failed_logins'. It is used in /couch/auth/auth.php: find the string
// ensure no more than 3 failed login attempts within 20 seconds


To ban browser from saving data I think it should be possible, but needs googling. This is html stuff.

http://docs.couchcms.com/tags-reference ... sword.html This is editable type='password' and it should work by itself. If it works, try to add simple validators and check if this field works with it :)
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
2 posts Page 1 of 1