Implement require_auth option in server #104

Merged
luca0N merged 2 commits from dev_server_live_auth into dev 2026-08-20 10:59:38 +00:00
Owner

Implement the require_auth option in the server. A previous commit erroneously added the require_auth option to the server.cfg file, which had not yet been implemented in the server at the time. This commit solves this issue by checking that option.

This commit also changes some action names which were previously unused for clarity.

Implement the `require_auth` option in the server. A previous commit erroneously added the `require_auth` option to the `server.cfg` file, which had not yet been implemented in the server at the time. This commit solves this issue by checking that option. This commit also changes some action names which were previously unused for clarity.
luca0N self-assigned this 2026-08-18 22:43:07 +00:00
Implement require_auth option in server
All checks were successful
/ Test and build server (push) Successful in 1m10s
eefa436d77
Implement the `require_auth` option in the server.  A previous commit
erroneously added the `require_auth` option to the `server.cfg` file,
which had not yet been implemented in the server at the time.  This
commit solves this issue by checking that option.

This commit also changes some action names which were previously unused
for clarity.
@ -177,2 +190,4 @@
}
// Returns the packet action string for the given JSON bytes.
func getPacketAction(jsonBytes []byte) (string, error) {
Author
Owner

A unit testing function must be created for this.

A unit testing function must be created for this.
luca0N marked this conversation as resolved
luca0N changed title from Implement require_auth option in server to WIP: Implement require_auth option in server 2026-08-18 22:45:39 +00:00
Test getPacketAction server functtion
All checks were successful
/ Test and build server (push) Successful in 1m10s
fe27e3f314
Add unit testing function for the `getPacketAction` function in the
server.
luca0N changed title from WIP: Implement require_auth option in server to Implement require_auth option in server 2026-08-20 00:29:32 +00:00
luca0N deleted branch dev_server_live_auth 2026-08-20 10:59:38 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
luca0N/lanbassador!104
No description provided.