diff --git a/lib/widgets/login.dart b/lib/widgets/login.dart index b82fdf6c..adfc075a 100644 --- a/lib/widgets/login.dart +++ b/lib/widgets/login.dart @@ -39,7 +39,7 @@ class _LoginPromptState extends State { }; if (widget.name != null) { - args['name'] = widget.name!; + args['username'] = widget.name!; } authChannel.invokeMethod('auth', args).then((_) {