Fix a build error due to change of auth fw api 90/319590/1 accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20250225.162937 accepted/tizen/unified/x/20250226.064925
authorjkjo92 <jkjo92@samsung.com>
Thu, 13 Feb 2025 07:28:11 +0000 (16:28 +0900)
committerjkjo92 <jkjo92@samsung.com>
Thu, 13 Feb 2025 07:28:11 +0000 (16:28 +0900)
Change-Id: Ia2501bb6de79d2329756011dcd92fc2bbdaa819f
Signed-off-by: jkjo92 <jkjo92@samsung.com>
src/password_handler.c

index 549c565ff1c5153274541bca1246777cf96818bf..8203af7e36c277f7fbd837e32cf59a2a097783a9 100644 (file)
@@ -15,7 +15,7 @@ password_handler_set_password(const char *pwd)
        ret = auth_passwd_check_passwd_state(AUTH_PWD_NORMAL, &attempt, &max_attempt, &expire_sec);
        if(ret == AUTH_PASSWD_API_ERROR_NO_PASSWORD) {
                 _INFO("No prev password setting");
-                ret = auth_passwd_set_passwd(AUTH_PWD_NORMAL, NULL, pwd);
+                ret = auth_passwd_set_passwd(AUTH_PWD_NORMAL, NULL, AUTH_PWD_NORMAL, pwd);
                 if(ret != AUTH_PASSWD_API_SUCCESS) {
                                 _ERR("auth_passwd_set_passwd failed = [%d]", ret);
                                 return ret;