diff options
-rw-r--r-- | device-functions.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/device-functions.c b/device-functions.c index 516bbc9..1fe6c56 100644 --- a/device-functions.c +++ b/device-functions.c @@ -4649,6 +4649,9 @@ int change_password (gchar *old_password, gchar *new_password) { gboolean old_valid = TRUE; + // user = admin + // (always) + // Skip password check if the supplied old_password is NULL. This // only happens when resetting the password to the default. if (old_password != NULL) { |