Mayor and city could both be sued even if he resigns