Handle SuperUser login.

This commit is contained in:
Mikkel Krautz 2011-04-08 18:26:15 +02:00
parent 47bb4d0025
commit 9036cd64af
3 changed files with 69 additions and 4 deletions

View file

@ -306,7 +306,7 @@ func populateUsers(server *Server, db *sqlite.Conn) (err os.Error) {
}
if UserId == 0 {
server.superUserPassword = "sha1" + SHA1Password
server.superUserPassword = "sha1$$" + SHA1Password
continue
}