mirror of https://gitee.com/karson/fastadmin.git
Pre Merge pull request !489 from simon429/develop
commit
a02f12d638
|
|
@ -54,7 +54,6 @@ class Profile extends Backend
|
||||||
$params,
|
$params,
|
||||||
array_flip(array('email', 'nickname', 'password', 'avatar'))
|
array_flip(array('email', 'nickname', 'password', 'avatar'))
|
||||||
));
|
));
|
||||||
unset($v);
|
|
||||||
if (!Validate::is($params['email'], "email")) {
|
if (!Validate::is($params['email'], "email")) {
|
||||||
$this->error(__("Please input correct email"));
|
$this->error(__("Please input correct email"));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue