Skip to content

Commit

Permalink
when we re-init the authentication module, re-init the password data …
Browse files Browse the repository at this point in the history
…and file time attributes

git-svn-id: https://xpra.org/svn/Xpra/trunk@12142 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Mar 13, 2016
1 parent 54f73bb commit 6cb25eb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/xpra/server/auth/file_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@


password_file = None
password_data = None
password_file_time = None
def init(opts):
global password_file
global password_data, password_file_time, password_file
password_file = opts.password_file
password_data = None
password_file_time = None


password_data = None
password_file_time = None
def get_password_file_time():
try:
return os.stat(password_file).st_mtime
Expand Down

0 comments on commit 6cb25eb

Please sign in to comment.