Browse Source

Correctif namespace User

feature/souke
Guillaume Bourgeois 9 months ago
parent
commit
b66194efa7
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      frontend/forms/PasswordResetRequestForm.php
  2. +1
    -1
      frontend/forms/ResetPasswordForm.php
  3. +1
    -1
      tests/codeception/common/fixtures/UserFixture.php

+ 1
- 1
frontend/forms/PasswordResetRequestForm.php View File

['email', 'required'], ['email', 'required'],
['email', 'email'], ['email', 'email'],
['email', 'exist', ['email', 'exist',
'targetClass' => '\logic\User\User\User',
'targetClass' => 'domain\User\User\User',
'message' => 'There is no user with such email.' 'message' => 'There is no user with such email.'
], ],
]; ];

+ 1
- 1
frontend/forms/ResetPasswordForm.php View File

public $password; public $password;


/** /**
* @var \logic\User\User\User
* @var domain\User\User\User
*/ */
private $_user; private $_user;



+ 1
- 1
tests/codeception/common/fixtures/UserFixture.php View File

*/ */
class UserFixture extends ActiveFixture class UserFixture extends ActiveFixture
{ {
public $modelClass = 'logic\User\User\User';
public $modelClass = 'domain\User\User\User';
} }

Loading…
Cancel
Save