fix api url for setting password
This commit is contained in:
@@ -132,7 +132,7 @@ class AuthService {
|
||||
|
||||
Future changePassword(String newPassword, String token) async {
|
||||
final response = await _dio.post(
|
||||
'/api/auth/lpassword',
|
||||
'/api/auth/login_password',
|
||||
data: {'login_password': newPassword},
|
||||
options: Options(headers: {'Authorization': 'Bearer $token'}),
|
||||
);
|
||||
|
Reference in New Issue
Block a user