1
0
mirror of https://github.com/Daichimarukana/uwuzu.git synced 2026-06-05 03:24:41 +00:00

uwuzu version 1.3.1 new_planet

This commit is contained in:
Daichimarukana
2024-03-02 22:27:25 +09:00
parent 1597041471
commit 15758bf040
16 changed files with 104 additions and 78 deletions
+6 -2
View File
@@ -338,8 +338,12 @@ if( !empty($_POST['pass_submit']) ) {
if(empty($pass_chk)){
$error_message[] = 'ユーザーidを入力してください。(USERID_INPUT_PLEASE)';
}else{
if(!($pass_chk === $userData["userid"])){
$error_message[] = 'ユーザーidが不正です。(USERID_CHIGAUYANKE)';
if(!(preg_match("/^[a-zA-Z0-9_]+$/", $pass_chk))){
$error_message[] = "IDは半角英数字で作成してください。(「_」は使用可能です。)(USERID_DONT_USE_WORD)";
}else{
if(!($pass_chk === $userData["userid"])){
$error_message[] = 'ユーザーidが不正です。(USERID_CHIGAUYANKE)';
}
}
}