> This should be an AVOption instead of a hardcoded number. I didn't change mechanism of attempts: there was attempts variable for auth with magical max attempts constant 3, I just add open attempts with the same 3 max attempts... Regards, Artjom.