View Issue Details

IDProjectCategoryView StatusLast Update
0037006mantisbtcode cleanuppublic2026-04-06 08:32
Reporterdregad Assigned Todregad  
PrioritynormalSeveritytweakReproducibilityN/A
Status resolvedResolutionfixed 
Target Version2.28.2Fixed in Version2.28.2 
Summary0037006: Abort user verification early if given user id is not valid
Description

It makes no sense to attempt login if the user does not exist.

TagsNo tags attached.

Relationships

related to 0037005 resolveddregad user_get_row() does not throw exception when given invalid user id 

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master-2.28 e6be7c24

2026-04-06 08:26

dregad


Details Diff
Check user id validity early in verify.php

It makes no sense to attempt login if the user does not exist.

Minor optimization: make use of extracted $u_username variable instead
of calling user_get_username().

Fixes 0037006
Affected Issues
0037006
mod - verify.php Diff File