mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
geoipProvider & contest.sort
This commit is contained in:
1 parent
2b68b9687d
commit
67b35bc07c
3 files changed
+6
-4
No files matched your search
@@ -109,7 +109,7 @@ class HomeSecurityHandler extends Handler {
|
||||
if (geoip) session.updateGeoip = geoip.lookup(session.updateIp || session.createIp);
|
||||
}
|
||||
this.response.template = 'home_security.html';
|
||||
this.response.body = { sessions: parsed };
|
||||
this.response.body = { sessions: parsed, geoipProvider: (geoip || {}).provider };
|
||||
}
|
||||
|
||||
async postChangePassword({ current, password, verifyPassword }) {
|
||||
|
||||
Reference in new issue
Block a user