Skip to content

Commit

Permalink
Fix test. Add readme upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jonocodes committed May 18, 2024
1 parent 074a7c2 commit 36a18de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ docker-push: ## build, tag, and push image to dockerhub. presumes you are logge
@echo "Building image $${image}"
@docker buildx build . --platform linux/amd64 \
-t $${image} -f docker/Dockerfile --push
@docker pushrm --file docker/DOCKERHUB-README.md $${username}/cypht
# TODO: build for arm architectures
# TODO: push docker/DOCKERHUB-README.md to dockerhub

.PHONY: setup
.ONESHELL:
Expand Down
2 changes: 1 addition & 1 deletion lib/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public function create($user, $pass) {
$result = 0;
$res = Hm_DB::execute($this->dbh, 'select username from hm_user where username = ?', [$user]);
if (!empty($res)) {
error_log("user {$user} already exists\n");
print("user {$user} already exists\n");
$result = 1;
}
else {
Expand Down

0 comments on commit 36a18de

Please sign in to comment.