1
0

2 Commity 85bc3c7041 ... 42950a7490

Autor SHA1 Správa Dátum
  vadimcesnokov 42950a7490 Merge remote-tracking branch 'origin/dev' into dev 1 rok pred
  vadimcesnokov 59f32832b8 1 1 rok pred
1 zmenil súbory, kde vykonal 7 pridanie a 0 odobranie
  1. 7 0
      commands/HelloController.php

+ 7 - 0
commands/HelloController.php

@@ -40,4 +40,11 @@ class HelloController extends Controller
         $user->resetPassword($password);
         $user->save();
     }
+
+    public function actionChangePassword($username, $password)
+    {
+        $user = User::findByUsername($username);
+        $user->resetPassword($password);
+        $user->save();
+    }
 }