2 Commits 85bc3c7041 ... 42950a7490

Autore SHA1 Messaggio Data
  vadimcesnokov 42950a7490 Merge remote-tracking branch 'origin/dev' into dev 1 anno fa
  vadimcesnokov 59f32832b8 1 1 anno fa
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  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();
+    }
 }