src/mercurialserver/refreshauth.py
changeset 213 72e7ba8b41a6
parent 211 0cd59649772c
child 242 03d8f07230b3
--- a/src/mercurialserver/refreshauth.py	Fri Nov 13 12:30:06 2009 +0000
+++ b/src/mercurialserver/refreshauth.py	Fri Nov 13 12:32:43 2009 +0000
@@ -15,7 +15,7 @@
 goodkey = re.compile("[/A-Za-z0-9._-]+$")
 
 def refreshAuth():
-    akeyfile = os.path.expanduser("~/.ssh/authorized_keys")
+    akeyfile = config.getAuthorizedKeysPath()
     wrappercommand = config.getExePath() + "/hg-ssh"
     prefix='no-pty,no-port-forwarding,no-X11-forwarding,no-agent-forwarding,command='