changePassword abstract method

Future<void> changePassword(
  1. String currentPassword,
  2. String newPassword
)

Changes the user's NTUT Portal password.

Requires an active session (call login first).

Throws an Exception if the password change fails (e.g., incorrect current password or the new password doesn't meet requirements).

Implementation

Future<void> changePassword(String currentPassword, String newPassword);