diff --git a/bin/server.dart b/bin/server.dart index 62c33a7..997727f 100755 --- a/bin/server.dart +++ b/bin/server.dart @@ -8,7 +8,7 @@ import 'package:shelf_router/shelf_router.dart'; final _router = Router() // GET ..get('/', API.rootHandler) - ..get('/auth', API.authenticator) + ..post('/auth', API.authenticator) ..get('/user/down-password-file', API.downloadPasswordDb) // POST ..post('/user/create-account', API.createAccount)