From b7e7827b4a75d1f35bd4e7faf2ce038dc1cc6269 Mon Sep 17 00:00:00 2001 From: starnakin Date: Sat, 3 Jun 2023 16:47:02 +0200 Subject: [PATCH] add: email attribute on user --- User.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/User.py b/User.py index db69208..8a3d1bd 100644 --- a/User.py +++ b/User.py @@ -1,5 +1,5 @@ class User: - def __init__(self, first_name: str, last_name: str, username: str, password: str, permissions): + def __init__(self, first_name: str, last_name: str, username: str, password: str, email: str, permissions): """ : param first_name: The first name of the user : type first_name: str @@ -7,6 +7,8 @@ class User: : type last_name: str : param password: The password of the user : type password: str + : param email: The email of the user + : type email: str : param permissions: The permissions of the user : type permissions: dict """