Block Inactive/Retired Pilots to Login

Hi Guys i am trying to block pilots having Inactive or Retired status not able to login until admin activate the account.

Any idea please.

 

thanks in advance

Irfaan Khan

SOLVED  Thanks

It would be great letting us know the way you solved it so others are able to do the same in case anyone comes up with the same requests.

Thank you

Yes how did u fix… im trying to do the opposite. Where did u find it?

it was built in function in phpVMS nothing i have done just changed the pilot profile status to Banned & there you go pilot will not able to login until you activate the account.

Ok thank you