Fix comment
This commit is contained in:
parent
b3a617b3b2
commit
54442a196b
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Reference in a new issue