Skip to content
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: Login With Email Link #19363

Merged
merged 12 commits into from
Dec 30, 2022
Merged

Conversation

shariquerik
Copy link
Member

@shariquerik shariquerik commented Dec 20, 2022

Get a link on the email to log in

image

image

image

Here app name Frappe is coming from App Name set on Website Settings
image

no-docs

@shariquerik shariquerik requested review from a team and phot0n and removed request for a team December 20, 2022 08:30
@github-actions github-actions bot added the add-test-cases Add test case to validate fix or enhancement label Dec 20, 2022
@codecov
Copy link

codecov bot commented Dec 20, 2022

Codecov Report

Merging #19363 (a43a014) into develop (3ff49ec) will increase coverage by 2.30%.
The diff coverage is 53.57%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #19363      +/-   ##
===========================================
+ Coverage    62.83%   65.13%   +2.30%     
===========================================
  Files          755      755              
  Lines        71743    71988     +245     
  Branches      6117     6119       +2     
===========================================
+ Hits         45077    46889    +1812     
+ Misses       23169    21606    -1563     
+ Partials      3497     3493       -4     
Flag Coverage Δ
server 68.57% <53.57%> (?)
server-ui 31.73% <35.71%> (-0.02%) ⬇️
ui-tests 51.23% <ø> (+0.19%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@ankush ankush requested review from a team and removed request for surajshetty3416 and phot0n December 20, 2022 09:18
@ankush ankush linked an issue Dec 20, 2022 that may be closed by this pull request
frappe/templates/emails/login_without_password.html Outdated Show resolved Hide resolved
frappe/www/login.py Outdated Show resolved Hide resolved
frappe/www/login.py Outdated Show resolved Hide resolved
@ankush
Copy link
Member

ankush commented Dec 20, 2022

Add test for this... correct and incorrect auth both. 😔

ankush and others added 2 commits December 20, 2022 15:19
Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
@shariquerik
Copy link
Member Author

shariquerik commented Dec 20, 2022

Passwordless Login sounds better than Login Without Password

Edit: Again changed it to Login With Email Link (it should be clear from user's POV)

made text translatable in email template
frappe/www/login.py Outdated Show resolved Hide resolved
frappe/www/login.py Outdated Show resolved Hide resolved
frappe/www/login.py Outdated Show resolved Hide resolved
@shariquerik shariquerik changed the title feat: Login without password (through link sent on email) feat: Passwordless Login (through link sent on email) Dec 20, 2022
frappe/www/login.html Outdated Show resolved Hide resolved
Copy link
Contributor

@sagarvora sagarvora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from Raffael's comments, looks okay from security perspective 👍🏼

frappe/www/login.py Outdated Show resolved Hide resolved
frappe/www/login.py Outdated Show resolved Hide resolved
@shariquerik shariquerik changed the title feat: Passwordless Login (through link sent on email) feat: Login With Email Link Dec 20, 2022
@ankush ankush self-assigned this Dec 21, 2022
@ankush ankush added dont-merge and removed add-test-cases Add test case to validate fix or enhancement labels Dec 21, 2022
Capitalized log in to frappe button
ankush
ankush previously approved these changes Dec 30, 2022
frappe/www/login.py Outdated Show resolved Hide resolved
@ankush ankush merged commit b414fff into frappe:develop Dec 30, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 14, 2023
@ankush ankush added the backport version-14-hotfix backport to version 14 label Apr 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport version-14-hotfix backport to version 14
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Password less (email) login
5 participants