mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-14 07:19:02 +00:00
Rework auth
This commit is contained in:
@@ -92,7 +92,7 @@ func (api *WebAPI) GetWorker(r *Request) {
|
||||
|
||||
func (api *WebAPI) UpdateWorker(r *Request) {
|
||||
|
||||
worker, err := api.validateSignature(r)
|
||||
worker, err := api.validateSecret(r)
|
||||
if err != nil {
|
||||
r.Json(JsonResponse{
|
||||
Ok: false,
|
||||
|
||||
Reference in New Issue
Block a user