We have moved to Github. Please open tickets there.

Opened 3 years ago

Closed 3 years ago

#1417 closed Enhancement (fixed)

tell user why login is prevented

Reported by: cash Owned by: cash
Priority: normal Milestone: Elgg 1.8.0
Component: Core Version: 1.6
Severity: minor Keywords:
Cc: brettp Difficulty: moderate

Description

login can fail because

  • wrong password/username
  • too many login failures
  • user is banned
  • user has not validated account

Right now there is a single error message which doesn't help the user that much or the administrator.

This will require the login() function to pass back more than just true/false or some other mechanism for passing failures (exceptions caught by the login action handler?)

Change History (6)

comment:1 Changed 3 years ago by cash

  • Type changed from unconfirmed defect to enhancement

comment:2 Changed 3 years ago by brettp

  • Milestone changed from Elgg 1.7 to Elgg 1.8

comment:3 Changed 3 years ago by brettp

  • Difficulty set to moderate

comment:4 Changed 3 years ago by cash

  • Owner set to cash
  • Status changed from new to assigned

comment:5 Changed 3 years ago by cash

(In [svn:7317]) Refs #1417 Elgg core now passes back useful messages to user when log in fails - uservalidationbyemail is next

comment:6 Changed 3 years ago by cash

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [svn:7319]) Fixes #1417 Users get notified when their accounts are not validated for any authentication attempt

Note: See TracTickets for help on using tickets.