feat: change password
This commit is contained in:
@@ -2,4 +2,8 @@ part of '../user.dart';
|
||||
|
||||
abstract class IUserRepository {
|
||||
Future<Either<UserFailure, User>> editUser({required String name});
|
||||
Future<Either<UserFailure, Unit>> changePassword({
|
||||
required String newPassword,
|
||||
required String currentPassword,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user