Skip to content

Commit d7c2822

Browse files
login [nfc]: Replace loginForm with more explicit loginOption for alternatives login options
Fixes #1961.
1 parent b2e54f4 commit d7c2822

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/widgets/login.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ class _LoginPageState extends State<LoginPage> {
458458

459459
final externalAuthenticationMethods = widget.serverSettings.externalAuthenticationMethods;
460460

461-
final loginForm = Column(mainAxisAlignment: MainAxisAlignment.center, children: [
461+
final loginOption = Column(mainAxisAlignment: MainAxisAlignment.center, children: [
462462
_UsernamePasswordForm(loginPageState: this),
463463
if (externalAuthenticationMethods.isNotEmpty) ...[
464464
const OrDivider(),
@@ -498,7 +498,7 @@ class _LoginPageState extends State<LoginPage> {
498498
// left or the right of this box
499499
child: ConstrainedBox(
500500
constraints: const BoxConstraints(maxWidth: 400),
501-
child: loginForm))))));
501+
child: loginOption))))));
502502
}
503503
}
504504

0 commit comments

Comments
 (0)