![]() |
(Myth/Auth)how to input username in Japanese - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31) +--- Thread: (Myth/Auth)how to input username in Japanese (/showthread.php?tid=81825) |
(Myth/Auth)how to input username in Japanese - yoshi - 05-03-2022 Thanks for everything. I was able to add login functionality to an existing app using Myth/Auth, but the next step is that Japanese cannot be used for user names. Can this be solved by customizing Myth/Auth? I am now trying the following commands. PHP Code: php spark auth:publish If I can exclude `alpha_numeric_space`, you can probably input Japanese, but it hasn't worked yet. RE: (Myth/Auth)how to input username in Japanese - kenjis - 05-03-2022 See https://github.com/lonnieezell/myth-auth/blob/68a940950573fc539532de98cfe1da4caab02031/src/Models/UserModel.php#L22 RE: (Myth/Auth)how to input username in Japanese - yoshi - 05-03-2022 (05-03-2022, 05:20 AM)kenjis Wrote: See https://github.com/lonnieezell/myth-auth/blob/68a940950573fc539532de98cfe1da4caab02031/src/Models/UserModel.php#L22 thanks kenjis ![]() I have debugged the login page. In auth:publish, for some reason it is reading the vendor side file even though I brought the file. Is there some configuration? https://drive.google.com/file/d/1ODAkQNeJZBVdN9ITzAFP18rK4T0jjrh0/view?usp=drivesdk RE: (Myth/Auth)how to input username in Japanese - kenjis - 05-03-2022 Add routes in app/Config/routes.php and check. $ php spark routes RE: (Myth/Auth)how to input username in Japanese - yoshi - 05-03-2022 (05-03-2022, 04:31 PM)kenjis Wrote: Add routes in app/Config/routes.php and check. thanks, kenjis I was able to override it by simply changing the direction of the same route in app/Config/Routes.php PHP Code: // app/Config/Routes.php PHP Code: // php spark routes |