mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Fix username validation on registration process
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
|
||||
$unique_userID = $ultimatemember->query->count_users() + 1;
|
||||
|
||||
if ( ! isset( $user_login ) ) {
|
||||
if ( ! isset( $user_login ) || strlen( $user_login ) > 30 ) {
|
||||
$user_login = 'user' . $unique_userID;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user