/[LeafOK_CVS]/fenglin/bbs/user_service_reset_pass.php
ViewVC logotype

Diff of /fenglin/bbs/user_service_reset_pass.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 by sysadm, Tue Apr 29 11:55:32 2025 UTC Revision 1.4 by sysadm, Mon Nov 3 06:19:31 2025 UTC
# Line 21  Line 21 
21          header("Content-Type:application/json; charset=utf-8");          header("Content-Type:application/json; charset=utf-8");
22    
23          // Validate input data          // Validate input data
24          if (!preg_match("/^[A-Za-z][A-Za-z0-9]{4,11}$/", $username))          if (!preg_match("/^[A-Za-z][A-Za-z0-9_]{4,11}$/", $username))
25          {          {
26                  $result_set["return"]["code"] = -1;                  $result_set["return"]["code"] = -1;
27                  array_push($result_set["return"]["errorFields"], array(                  array_push($result_set["return"]["errorFields"], array(


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1