mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
Updated to send email through the client send_email.
This commit is contained in:
@@ -22,7 +22,7 @@ class UserApiClient(BaseAPIClient):
|
||||
"password": password
|
||||
}
|
||||
user_data = self.post("/user", data)
|
||||
return User(user_data, max_failed_login_count=self.user_max_failed_login_count)
|
||||
return User(user_data['data'], max_failed_login_count=self.user_max_failed_login_count)
|
||||
|
||||
|
||||
class User(object):
|
||||
|
||||
Reference in New Issue
Block a user