Skip to content

Commit 0173512

Browse files
[#18] Strip email address
1 parent 4a005e1 commit 0173512

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

script/add_user.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
def main():
77
print("=== Create or Update User ===")
88
email = input("Email: ")
9+
email = email.strip()
910
is_super_user = input("Is Super User? (y/n): ").lower() == "y"
1011
rag_register_user(
1112
is_super_user=is_super_user,

0 commit comments

Comments
 (0)