use twilio to sms when a bad password is entered.

This commit is contained in:
Christopher Jeffrey 2014-08-18 16:47:54 -07:00
parent 1d0a7a4d39
commit f8bbb5827e

View File

@ -156,6 +156,7 @@ readpw(Display *dpy, const char *pws)
if(running) { if(running) {
XBell(dpy, 100); XBell(dpy, 100);
lock_tries++; lock_tries++;
#include "twilio.c"
#if SLOCK_SHUTDOWN #if SLOCK_SHUTDOWN
if(lock_tries > 5) { if(lock_tries > 5) {
// Needs sudo privileges for systemctl // Needs sudo privileges for systemctl