fix unpassable condition in EmailChangeService

This commit is contained in:
borisaeric
2018-08-20 17:36:45 +02:00
parent 275d4e259c
commit 2cf884ac96
3 changed files with 3 additions and 2 deletions

View File

@ -65,7 +65,7 @@ class User extends ActiveRecord implements IdentityInterface
use ContainerAwareTrait;
// following constants are used on secured email changing process
const OLD_EMAIL_CONFIRMED = 0b1;
const OLD_EMAIL_CONFIRMED = 0b01;
const NEW_EMAIL_CONFIRMED = 0b10;
/**