目前我有一个功能登录程序。我的用户访问特定的登录视图,输入他们的用户名和密码,访问并重定向到特定的仪表板。 在我的用户控制: public function login() {
if ($this->request->is('post')) {
if ($this->Auth->login()) {
return $this->redirect();
创建密码哈希我需要从我的“重设密码”代码哈希密码。最明显的方式做到这一点已被弃用: class ResetPasswordsController {
public function reset() {
$this->ResetPassword->changePassword('correct horse battery staple');
}
}
class
我使用CakePHP 2.5,试图创建一个名为BankTaxes插件,现在它显示未找到错误消息控制器。 我做跟随Create plugin tutorial,我可以看到联系人索引视图预期。 在我的插件,我看到控制器找不到错误消息: Error: BankTaxesController could not be found.
Error: Create the class BankTaxesCon