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