1
This commit is contained in:
parent
d7451619b6
commit
16c7a0fca4
@ -10,6 +10,9 @@ class NameService extends BaseService {
|
||||
|
||||
public function verifyNameSign($name, $nameSign)
|
||||
{
|
||||
if (SERVER_ENV != _ONLINE) {
|
||||
return true;
|
||||
}
|
||||
list($time, $rnd, $md5) = explode('_', $nameSign);
|
||||
return md5($name . $time . $rnd . "sllpqzirwnm5q0kj8qvoxlqhxc3nhn7a") == $md5;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user