commit 410c42e525fc3e4f483b49e1935eb9e5f2dfafc0
Author: hasegawa <hasegawa@i-hearts.jp>
Date:   Wed Mar 9 10:23:24 2016 +0900

    ログイン

diff --git a/app/Controller/UsersController.php b/app/Controller/UsersController.php
index df60ecc..b43e56b 100755
--- a/app/Controller/UsersController.php
+++ b/app/Controller/UsersController.php
@@ -199,11 +199,11 @@ class UsersController extends AppController {
  */
 	public function login() {
 		//var_dump(Security::hash( "123", 'blowfish'));
-		if($this->Auth->user()){
+		if($this->register->user()){
 			$this->redirect($this->Auth->redirectUrl());                          
 		}
 		if ($this->request->is('post')) {
-			if ($this->Auth->login()) {
+			if ($this->register->login()) {
 				$this->redirect('/Users/login_top');                          
 			} else {
 				$this->Flash->error(__('error'));
@@ -219,7 +219,7 @@ class UsersController extends AppController {
  * @return void
  */
 	public function logout() {
-	    $this->redirect($this->Auth->logout());
+	    $this->redirect($this->register->logout());
 	}
 
 
diff --git a/app/View/users/login.ctp b/app/View/users/login.ctp
index 33d074f..3cf9447 100755
--- a/app/View/users/login.ctp
+++ b/app/View/users/login.ctp
@@ -41,7 +41,7 @@
                 </section>
                 <section class="button_area01">
                     <a href="/top/index"><p class="button btn_back02"></p></a>
-                <?php  echo $this->Form->submit('',array('class'=>'button btn_check01')); ?>
+                <?php  echo $this->Form->submit('',array('class'=>'button btn_login')); ?>
                 <?php  echo $this->Form->end(); ?>
                 </section>
         </article>
