VERIFIED message fixed
This commit is contained in:
@@ -18,7 +18,7 @@ class AuthService {
|
||||
if (response.statusCode == 200) {
|
||||
final String message = response.data.toString().toUpperCase();
|
||||
|
||||
if (message.contains("VERIFIED")) {
|
||||
if (message == "VERIFIED") {
|
||||
return; // Success
|
||||
} else {
|
||||
throw AuthException(message); // Throw message received
|
||||
|
||||
Reference in New Issue
Block a user