Browse Source

Fixed flashmessage, it uses write not set

Michael Francis 14 năm trước cách đây
mục cha
commit
e5cef083b9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      controllers/UsersController.php

+ 1 - 1
controllers/UsersController.php

@@ -326,7 +326,7 @@ class UsersController extends \lithium\action\Controller {
 			}
 			else
 			{
-				FlashMessage::set('Username or Password Incorrect.');
+				FlashMessage::write('Username or Password Incorrect.');
 			}
 		}
 	}