-
-
Notifications
You must be signed in to change notification settings - Fork 35
remove dependency on storify for controllers/user.py #857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
update tests to reflect changes to login.py and resetpassword.py
|
This pull request introduces 2 alerts when merging 823fb76 into f277273 - view on LGTM.com new alerts:
|
kfkitsune
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
| login.create( | ||
| request.params.get('username', ''), | ||
| request.params.get('email', ''), | ||
| request.params.get('emailcheck', ''), | ||
| request.params.get('password', ''), | ||
| request.params.get('passcheck', ''), | ||
| request.params.get('year', ''), | ||
| request.params.get('month', ''), | ||
| request.params.get('day', '') | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one could benefit from some named argument safety:
| login.create( | |
| request.params.get('username', ''), | |
| request.params.get('email', ''), | |
| request.params.get('emailcheck', ''), | |
| request.params.get('password', ''), | |
| request.params.get('passcheck', ''), | |
| request.params.get('year', ''), | |
| request.params.get('month', ''), | |
| request.params.get('day', '') | |
| ) | |
| login.create( | |
| username=request.params.get('username', ''), | |
| email=request.params.get('email', ''), | |
| emailcheck=request.params.get('emailcheck', ''), | |
| password=request.params.get('password', ''), | |
| passcheck=request.params.get('passcheck', ''), | |
| year=request.params.get('year', ''), | |
| month=request.params.get('month', ''), | |
| day=request.params.get('day', ''), | |
| ) |
Related to #744