The city treasurer shall deposit, and at all times keep on deposit, for safekeeping, in banks, capital stock financial institutions, or qualifying mutual financial institutions of approved and responsible standing, all money collected, received, or held by him or her as city treasurer. Such deposits shall be subject to all regulations imposed by law or adopted by the city council for the receiving and holding thereof. The fact that a stockholder, director, or other officer of such bank, capital stock financial institution, or qualifying mutual financial institution shall also be serving as mayor, as a member of the city council, as a member of a board of public works, or as any other officer of such city shall not disqualify such bank, capital stock financial institution, or qualifying mutual financial institution from acting as a depository for such city funds. Section 77-2366 shall apply to deposits in capital stock financial institutions. Section 77-2365.01 shall apply to deposits in qualifying mutual financial institutions.