mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-08 01:27:26 +08:00
[+] Allow use any characters in maimai name
This commit is contained in:
@@ -28,7 +28,7 @@ class UpsertUserAllHandler(
|
|||||||
val repos: Mai2Repos
|
val repos: Mai2Repos
|
||||||
) : BaseHandler {
|
) : BaseHandler {
|
||||||
|
|
||||||
fun String.isValidUsername() = isNotBlank() && length <= 8 && all { it in SEGA_USERNAME_CAHRS }
|
fun String.isValidUsername() = isNotBlank() && length <= 8
|
||||||
|
|
||||||
@Throws(JsonProcessingException::class)
|
@Throws(JsonProcessingException::class)
|
||||||
override fun handle(request: Map<String, Any>): Any? {
|
override fun handle(request: Map<String, Any>): Any? {
|
||||||
|
|||||||
Reference in New Issue
Block a user