add a separate interface for auth modules w/ change_password() method

This commit is contained in:
Andrew Dolgov
2023-10-27 22:21:30 +03:00
parent 925256c81f
commit a1a2fe40f6
3 changed files with 8 additions and 5 deletions

4
classes/IAuthModule2.php Normal file
View File

@@ -0,0 +1,4 @@
<?php
interface IAuthModule2 extends IAuthModule {
function change_password(int $owner_uid, string $old_password, string $new_password) : string;
}