fix input validation for app expiration period
better input validation for app expiration period
Merge pull request #436 from opentechinstitute/417

fix input validation for app expiration period. Tested by @jheretic