]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/services/access_control.py
import ceph nautilus 14.2.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / services / access_control.py
index 3d9f38161e2185c2589d8b9fb77b62b356f07edc..4d1669b6afb0b65dd6db064a79b6b8c906fbd3e8 100644 (file)
@@ -183,7 +183,7 @@ class User(object):
             self.lastUpdate = lastUpdate
 
     def refreshLastUpdate(self):
-        self.lastUpdate = int(time.mktime(time.gmtime()))
+        self.lastUpdate = int(time.time())
 
     def set_password(self, password):
         self.password = password_hash(password)