Merge branch 'pending/FixGetUsername' into next

This commit is contained in:
Sebastian Spaeth 2011-09-19 09:30:05 +02:00
commit 42c9e04966

View File

@ -56,7 +56,7 @@ class IMAPServer:
self.config = repos.getconfig()
self.tunnel = repos.getpreauthtunnel()
self.usessl = repos.getssl()
self.username = repos.getuser()
self.username = None if self.tunnel else repos.getuser()
self.password = None
self.passworderror = None
self.goodpassword = None