{"action":"created","issue":{"url":"https://api.github.com/repos/heapsource/active_model_otp/issues/20","labels_url":"https://api.github.com/repos/heapsource/active_model_otp/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/heapsource/active_model_otp/issues/20/comments","events_url":"https://api.github.com/repos/heapsource/active_model_otp/issues/20/events","html_url":"https://github.com/heapsource/active_model_otp/issues/20","id":70674928,"number":20,"title":"Increase validity time of OTP","user":{"login":"aelor","id":5008408,"avatar_url":"https://avatars.githubusercontent.com/u/5008408?v=3","gravatar_id":"","url":"https://api.github.com/users/aelor","html_url":"https://github.com/aelor","followers_url":"https://api.github.com/users/aelor/followers","following_url":"https://api.github.com/users/aelor/following{/other_user}","gists_url":"https://api.github.com/users/aelor/gists{/gist_id}","starred_url":"https://api.github.com/users/aelor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aelor/subscriptions","organizations_url":"https://api.github.com/users/aelor/orgs","repos_url":"https://api.github.com/users/aelor/repos","events_url":"https://api.github.com/users/aelor/events{/privacy}","received_events_url":"https://api.github.com/users/aelor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-24T12:18:30Z","updated_at":"2015-10-30T07:24:30Z","closed_at":"2015-04-24T19:08:32Z","body":"Hi, currently the validity of the OTP is set to 30 seconds. Is there a possibilty to increase the OTP time to say 2mins. I dont know if it is correct to be done. I tried searching the internet but couldn't find anything"},"comment":{"url":"https://api.github.com/repos/heapsource/active_model_otp/issues/comments/152448628","html_url":"https://github.com/heapsource/active_model_otp/issues/20#issuecomment-152448628","issue_url":"https://api.github.com/repos/heapsource/active_model_otp/issues/20","id":152448628,"user":{"login":"aelor","id":5008408,"avatar_url":"https://avatars.githubusercontent.com/u/5008408?v=3","gravatar_id":"","url":"https://api.github.com/users/aelor","html_url":"https://github.com/aelor","followers_url":"https://api.github.com/users/aelor/followers","following_url":"https://api.github.com/users/aelor/following{/other_user}","gists_url":"https://api.github.com/users/aelor/gists{/gist_id}","starred_url":"https://api.github.com/users/aelor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aelor/subscriptions","organizations_url":"https://api.github.com/users/aelor/orgs","repos_url":"https://api.github.com/users/aelor/repos","events_url":"https://api.github.com/users/aelor/events{/privacy}","received_events_url":"https://api.github.com/users/aelor/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T07:24:30Z","updated_at":"2015-10-30T07:24:30Z","body":"@masumrock I think making it valid for more 12 hours is as simple as converting 12hrs to 12*60*60seconds and then use the drift with  43200(12*60*60)"}}