Browse Source

Check user files on login (migration)

pull/1/head
Matthew Faltys 5 years ago
parent
commit
cdafa1b2f3
  1. 1
      nethack-launcher/print_login_screen.go

1
nethack-launcher/print_login_screen.go

@ -52,6 +52,7 @@ func printLoginScreen(redisClient *redis.Client) {
typedHash := sha3.Sum512([]byte(typedAuth)) typedHash := sha3.Sum512([]byte(typedAuth))
if fmt.Sprintf("%x", typedHash) == storedHash { if fmt.Sprintf("%x", typedHash) == storedHash {
// user authed // user authed
createUserFiles(username)
printUserScreen(redisClient, username) printUserScreen(redisClient, username)
noPass = false noPass = false
} else { } else {

Loading…
Cancel
Save