Fix bug in prompt reply handling

Change prompt reply value based on 0 == permit and anything else is denied.

Jira issue: wp-956
Merge pull request #15 from TobyEalden/dashboard-prompting-03

Fix bug in prompt reply handling