{{ if .Data.IsInvalidCredentials }} Invalid username or password {{ else if .Data.IsInternalError }} Internal server error {{ else }} {{ end }}