-
Notifications
You must be signed in to change notification settings - Fork 32
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
feat: Add registration page #286
Conversation
orronai
commented
Sep 9, 2021
- Added a html template of the signup page
- Added a href button to the signup page from the login page
- Added the form of the signup to the backend and db
- Added a html template of the signup page - Added a href button to the signup page from the login page - Added the form of the signup to the backend and db
Codecov Report
@@ Coverage Diff @@
## master #286 +/- ##
==========================================
+ Coverage 78.98% 79.80% +0.81%
==========================================
Files 55 59 +4
Lines 2346 2451 +105
==========================================
+ Hits 1853 1956 +103
- Misses 493 495 +2
Continue to review full report at Codecov.
|
- Added confirmation email system - Added some tests
This pull request introduces 1 alert when merging 6ad4d4d into 4e4c203 - view on LGTM.com new alerts:
|
… add-signup-page
- Added a unique salt into confirmation link for each user - Added a test
This pull request introduces 1 alert when merging 2da74c3 into bed689c - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging eb717f1 into bed689c - view on LGTM.com new alerts:
|
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.
Awesome work 🔥
Added few improvement suggestions, please take a look :)
lms/lmsweb/views.py
Outdated
|
||
return redirect(url_for( | ||
'login', login_message=( | ||
_('המשתמש שלך אומת בהצלחה, כעת הינך יכול להתחבר למערכת'), |
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.
אתה מועבר לדף ההתחברות (הינך בד"כ נחשב כהגבהה מלאכותית)
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.
Changed it into אתה
but now the whole sentence because he is already in the login
page, the user just see the mesage that his user has been successfully confirmed and he can login
- Added few _('...') instead of some english phrases - Moved out the auth logic into models/users - Added MAIL_DEFAULT_SENDER variable to the config - Changed the retrieve_salt method
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.
Changed
…ed an error message to the UnhashedPasswordError
Sourcery Code Quality Report✅ Merging this PR will increase code quality in the affected files by 0.06%.
Here are some functions in these files that still need a tune-up:
Legend and ExplanationThe emojis denote the absolute quality of the code:
The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request. Please see our documentation here for details on how these metrics are calculated. We are actively working on this report - lots more documentation and extra metrics to come! Help us improve this quality report! |