瀏覽代碼

Fix comment

Visman 4 年之前
父節點
當前提交
54442a196b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Models/Pages/Profile/Pass.php

+ 1 - 1
app/Models/Pages/Profile/Pass.php

@@ -62,7 +62,7 @@ class Pass extends Profile
                 if ($this->rules->my) {
 #                    $auth = $this->c->Auth;
 #                    $auth->fIswev = ['s' => [__('Pass updated')]];
-#                    return $auth->login(['_username' => $this->curUser->username], 'GET');
+#                    return $auth->login([], 'GET', $this->curUser->username);
                     return $this->c->Redirect->page('Login')->message('Pass updated'); // ???? нужна передача данных между скриптами не привязанная к пользователю
                 } else {
                     return $this->c->Redirect->page('EditUserProfile', ['id' => $this->curUser->id])->message('Pass updated redirect');