Fixed capitalised usernames creating account duplicates in backend (re-login required)
This commit is contained in:
parent
6d8a5af7cd
commit
3c069d7f60
@ -28,13 +28,13 @@ class _LoginState extends State<Login> {
|
||||
await AccountData().removeData();
|
||||
|
||||
try {
|
||||
await AccountData().setData(data.name, data.password);
|
||||
await AccountData().setData(data.name.toLowerCase(), data.password);
|
||||
await GetRoom(
|
||||
GetRoomParams(
|
||||
includeStatus: false,
|
||||
),
|
||||
).run().then((value) async {
|
||||
await AccountData().setData(data.name, data.password);
|
||||
await AccountData().setData(data.name.toLowerCase(), data.password);
|
||||
setState(() {
|
||||
displayDisclaimerText = false;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user