Log in escapes early if username.length < 2
This commit is contained in:
@@ -22,6 +22,7 @@ class DbHelper {
|
||||
}
|
||||
|
||||
static void login(String username) async {
|
||||
if (username.length < 2) return;
|
||||
final prefs = await _prefs;
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user