Details
Description
STEPS TO REPRODUCE
- Login as Admin
- Go to Administer Wiki > Users & Rights > Authentication
- On 'Failure Strategies' select CAPTCHA (default setting) and Save
- Create an user (e.g. U1)
- Logout
- Try to login with user's name (U1) and a wrong password 3 times
- Fill in the username and correct password
- Fill the CAPTCHA
- Click Log-in
- Login as Admin
- Go to Administer Wiki > Users & Rights > Authentication
- On 'Failure Strategies' select 'Disable account' and Save
- Logout
- Try to login with user's name (U1) and a wrong password 3 times
EXPECTED RESULTS
As 'Disable account' is currently selected on 'Failure Strategies', a message is displayed informing the user that his account is disabled.
ACTUAL RESULTS
The CAPTCHA failure strategy is still displayed, although on 'Failure Strategies' is selected 'Disable account' (confirmed by logging in with Admin).
Vice versa, if the first time (before any failure strategy is triggered) is selected 'Disable account' and then after a login failure is selected 'CAPTCHA', the 'Disable account' strategy is still enforced.
It is to be mentioned also that when 'Disable account' strategy is selected and the user account is being disabled (due to multiple login failures), a 'null' is displayed above Log-in button (screenshot attached).
Attachments
Issue Links
- is related to
-
XWIKI-16532 Add an authentication failure strategy to block user
- Closed