projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e067a37
)
Pman/Login.php
author
edward
<edward@roojs.com>
Mon, 15 Jan 2018 07:38:05 +0000
(15:38 +0800)
committer
edward
<edward@roojs.com>
Mon, 15 Jan 2018 07:38:05 +0000
(15:38 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
dd33a79
..
f173316
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-454,7
+454,7
@@
class Pman_Login extends Pman
$this->jok($u);
}
- function ip_
validate
()
+ function ip_
checking
()
{
if(empty($this->ip_management)){
return;
@@
-475,6
+475,7
@@
class Pman_Login extends Pman
$core_ip_access->setFrom(array(
'ip' => $ip,
'created_dt' => $core_ip_access->sqlValue("NOW()"),
+ 'authorized_key' => md5(openssl_random_pseudo_bytes(16)),
'status' => 1
));