일단 이제 잘 됨

This commit is contained in:
2026-04-13 17:29:56 +09:00
parent 7d6d36d401
commit 78518645aa
4 changed files with 145 additions and 1 deletions
+1 -1
View File
@@ -253,7 +253,7 @@ func handleLogin(w http.ResponseWriter, r *http.Request) {
// htpasswd -v <file> <username> <password> 명령어를 사용하여 비밀번호 확인
// exit code 0이면 성공, 0이 아니면 실패
cmd := exec.Command("htpasswd", "-v", htpasswdPath, req.Username, req.Password)
cmd := exec.Command("htpasswd", "-vb", htpasswdPath, req.Username, req.Password)
output, err := cmd.CombinedOutput()
if err != nil {