Welcome Guest, Not a member yet? Register   Sign In
(Myth/Auth)how to input username in Japanese
#5

(05-03-2022, 04:31 PM)kenjis Wrote: Add routes in app/Config/routes.php and check.
$ php spark routes


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
$routes->get('register''AuthController::register'); 

PHP Code:
// php spark routes
+--------+-------------+---+
Method Route   Handler  |
+--------+-------------+---+
GET    | /       | \App\Controllers\HomeController::index     |
GET    register | \App\Controllers\AuthController::register |   ←OK!
|
GET    login   | \Myth\Auth\Controllers\AuthController::login   |
GET    logout   | \Myth\Auth\Controllers\AuthController::logout 
Reply


Messages In This Thread
RE: (Myth/Auth)how to input username in Japanese - by yoshi - 05-03-2022, 09:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB