Skip to content

Commit

Permalink
csd-datetime forgets to authorize users
Browse files Browse the repository at this point in the history
  • Loading branch information
leigh123linux committed Oct 30, 2015
1 parent 05adfaf commit ac5e0be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/datetime/csd-datetime-mechanism.c
Expand Up @@ -354,6 +354,9 @@ _set_date (CsdDatetimeMechanism *mechanism,
int exit_status;
GError *error;

if (!_check_polkit_for_action (mechanism, context))
return FALSE;

date_str = g_strdup_printf ("%02d/%02d/%d", month, day, year);
error = NULL;

Expand Down

0 comments on commit ac5e0be

Please sign in to comment.