Ticket #362 (closed Bug report: fixed)

Opened 5 years ago

Last modified 4 years ago

Trying to log in with an invalid user give a PHP Notice disrupting the page

Reported by: anonymous Owned by:
Priority: normal Milestone: Not yet assigned to a Milestone
Component: Auth server, Authentication, permissions and access control Version:
Keywords: Cc:

Description

If you try to log in with and invalid user (user with account_status <>1) you get a php notice: "Notice: Undefined variable: account_status_to_text in /var/www/wifidog-auth/wifidog/classes/User.php on line 458" and session_start fails because headers are just been sent.

Leandro

Attachments

Change History

Changed 4 years ago by leandro@…

This ticket is expired, patch already committed.

Changed 4 years ago by networkfusion

  • status changed from new to closed
  • resolution set to fixed

Add/Change #362 (Trying to log in with an invalid user give a PHP Notice disrupting the page)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.