{"action":"created","issue":{"url":"https://api.github.com/repos/CakeDC/users/issues/655","repository_url":"https://api.github.com/repos/CakeDC/users","labels_url":"https://api.github.com/repos/CakeDC/users/issues/655/labels{/name}","comments_url":"https://api.github.com/repos/CakeDC/users/issues/655/comments","events_url":"https://api.github.com/repos/CakeDC/users/issues/655/events","html_url":"https://github.com/CakeDC/users/issues/655","id":296092391,"node_id":"MDU6SXNzdWUyOTYwOTIzOTE=","number":655,"title":"Extending the Controller","user":{"login":"notom","id":7974411,"node_id":"MDQ6VXNlcjc5NzQ0MTE=","avatar_url":"https://avatars3.githubusercontent.com/u/7974411?v=4","gravatar_id":"","url":"https://api.github.com/users/notom","html_url":"https://github.com/notom","followers_url":"https://api.github.com/users/notom/followers","following_url":"https://api.github.com/users/notom/following{/other_user}","gists_url":"https://api.github.com/users/notom/gists{/gist_id}","starred_url":"https://api.github.com/users/notom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notom/subscriptions","organizations_url":"https://api.github.com/users/notom/orgs","repos_url":"https://api.github.com/users/notom/repos","events_url":"https://api.github.com/users/notom/events{/privacy}","received_events_url":"https://api.github.com/users/notom/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-02-10T11:01:16Z","updated_at":"2018-12-12T17:42:41Z","closed_at":"2018-03-22T12:55:03Z","author_association":"NONE","body":"Hey guys,\r\n\r\nSo, I followed the steps in the document [here](https://github.com/CakeDC/users/blob/master/Docs/Documentation/Extending-the-Plugin.md), but with no luck. The problem is that the login form still uses the UserController instead of the custom one.\r\n\r\nHere is my user.php config file:\r\n```\r\nreturn [\r\n    'Users.controller' => 'MyUsers',\r\n```\r\n\r\nAnd my bootstrap:\r\n\r\n```\r\nConfigure::write('Users.config', ['users']);\r\nPlugin::load('CakeDC/Users', ['routes' => true , 'bootstrap' => true]);\r\nConfigure::write('Users.Token.expiration', 86400); // 24h\r\n```\r\n\r\nI also tried composer `dump-autoload` and `cake cache clear-all` after I set the new controller.\r\n"},"comment":{"url":"https://api.github.com/repos/CakeDC/users/issues/comments/446677188","html_url":"https://github.com/CakeDC/users/issues/655#issuecomment-446677188","issue_url":"https://api.github.com/repos/CakeDC/users/issues/655","id":446677188,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjY3NzE4OA==","user":{"login":"steinkel","id":151761,"node_id":"MDQ6VXNlcjE1MTc2MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/151761?v=4","gravatar_id":"","url":"https://api.github.com/users/steinkel","html_url":"https://github.com/steinkel","followers_url":"https://api.github.com/users/steinkel/followers","following_url":"https://api.github.com/users/steinkel/following{/other_user}","gists_url":"https://api.github.com/users/steinkel/gists{/gist_id}","starred_url":"https://api.github.com/users/steinkel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steinkel/subscriptions","organizations_url":"https://api.github.com/users/steinkel/orgs","repos_url":"https://api.github.com/users/steinkel/repos","events_url":"https://api.github.com/users/steinkel/events{/privacy}","received_events_url":"https://api.github.com/users/steinkel/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T17:42:41Z","updated_at":"2018-12-12T17:42:41Z","author_association":"MEMBER","body":"then controller name should be Plugin.ControllerName but I'm not sure it's going to work in this case, please test it and let me know to take a look if not working properly, thanks!"}}
{"actor":{"display_login":"steinkel"}}